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 / raja

void main()
{
int a=20,b=40;
for( ;b<=1;b--)
a++;
printf("%d",a);
}

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1027


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1333


What are examples of structures?

1080


write a proram to reverse the string using switch case?

2917


Why is c known as a mother language?

1223


Write a program to print ASCII code for a given digit.

1082


What is a function simple definition?

1078


What are variables and it what way is it different from constants?

1218


Explain what does the format %10.2 mean when included in a printf statement?

1340


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1128


Write a code to generate a series where the next element is the sum of last k terms.

1210


What are the application of void data type in c?

1167


Are the variables argc and argv are always local to main?

1011


What is wrong with this code?

1165


What is a good way to implement complex numbers in c?

1036