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...

How to add two numbers with using function?

Answer Posted / vinay kumar

suppose x=5 and y=10,Then
while(y!=0)
{
x++;
y--;
}
printf("the sum value is:%d
",x);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of header files?

1114


Are pointers really faster than arrays?

1036


What is function pointer c?

1122


What is ## preprocessor operator in c?

1097


What is variable in c example?

1081


What is the use of sizeof?

1022


Are there namespaces in c?

1137


how to construct a simulator keeping the logical boolean gates in c

2261


What are the benefits of organizational structure?

1031


Can we use visual studio for c?

1103


What is the explanation for prototype function in c?

991


Explain how do you search data in a data file using random access method?

1140


Is c weakly typed?

1032


Add Two Numbers Without Using the Addition Operator

832


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

1060