Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


c program to subtract between two numbers without using '-'
sign and subtract function.



c program to subtract between two numbers without using '-' sign and subtract function...

Answer / pm

say, x-y
{
for (int i=y;i>=0;i--)
x--;
cout<<x;
}

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

Where in memory are my variables stored?

0 Answers  


Why do we use int main instead of void main in c?

0 Answers  


How can you tell whether a program was compiled using c versus c++?

0 Answers  


how to make program without <> in libray.

0 Answers  


What is the use of ?: Operator?

0 Answers  


Explain the difference between struct and union.

2 Answers  


no consistent academics. how to answer the question

0 Answers  


Find string palindrome 10marks

5 Answers   Honeywell, Infosys, Riktam, Roland,


What is the difference between formatted&unformatted i/o functions?

0 Answers  


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a<b,printb.find the sum digits of that number & then print.if a==b multiply 10 with a & add 20 with b store in c and then print

0 Answers  


Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  


what is an inline function?

2 Answers   TCS,


Categories