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

write a c program to add two integer numbers without using
arithmetic operator +

Answer Posted / venky

main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(-b));
printf("sum of a,b is %d",c);
}

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are local static variables?

1164


Can you explain the four storage classes in C?

1132


Explain modulus operator. What are the restrictions of a modulus operator?

1026


What is the code in while loop that returns the output of given code?

2009


How many identifiers are there in c?

1037


What are the different types of errors?

1149


i want to know the procedure of qualcomm for getting a job through offcampus

2477


What is output redirection?

1234


Which header file is essential for using strcmp function?

1498


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1957


Can we use any name in place of argv and argc as command line arguments?

1080


Explain what are linked list?

1052


How can my program discover the complete pathname to the executable from which it was invoked?

1085


Where are the auto variables stored?

1158


What are the disadvantages of c language?

1205