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

#include<stdio.h>
main()
{
int a=5,b=4,c;
c=a||b;
printf("sum="+c);
}

Is This Answer Correct ?    2 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better malloc or calloc?

1057


How can I discover how many arguments a function was actually called with?

1018


Differentiate between ordinary variable and pointer in c.

1100


Explain bitwise shift operators?

1167


Explain bit masking in c?

1080


what do u mean by Direct access files? then can u explain about Direct Access Files?

2029


How can you be sure that a program follows the ANSI C standard?

1558


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2275


Hi can anyone tell what is a start up code?

1999


How many types of errors are there in c language? Explain

925


When should volatile modifier be used?

952


What is the difference between Printf(..) and sprint(...) ?

1424


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2714


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1032


What standard functions are available to manipulate strings?

1074