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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the -> in c?

1024


what is bit rate & baud rate? plz give wave forms

1989


Is c is a low level language?

1153


Can we initialize extern variable in c?

1147


Can you subtract pointers from each other? Why would you?

970


What is wild pointer in c with example?

1072


Place the #include statement must be written in the program?

1051


What is a keyword?

1178


What is a char c?

1051


Explain what is the most efficient way to store flag values?

1238


Explain which function in c can be used to append a string to another string?

1100


Explain what is page thrashing?

1111


What is the purpose of & in scanf?

1085


What is time null in c?

1084


What is methods in c?

1106