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 without using arithmetic operators?

Answer Posted / pugalarasu

int sum(int num1,int num2)
{
for(int i=0;i<num2;i++)
num1++;
return num1;
}

Is This Answer Correct ?    39 Yes 50 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of an array over individual variables?

1187


What is multidimensional arrays

1064


What’s a signal? Explain what do I use signals for?

1053


why do some people write if(0 == x) instead of if(x == 0)?

1012


What is the code for 3 questions and answer check in VisualBasic.Net?

2101


Not all reserved words are written in lowercase. TRUE or FALSE?

1181


What is the mean of function?

1064


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1087


What is substring in c?

1132


What does it mean when a pointer is used in an if statement?

1061


Differentiate between a structure and a union.

1227


Why does this code crash?

1027


What will be your course of action for a push operation?

1051


Should a function contain a return statement if it does not return a value?

1017


What is the use of header?

1051