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

prashant answer is wrong suppose add two similar numbers
prashant answers will fail because addtion of two similar
bits according to the bitwise xor fails.

Is This Answer Correct ?    17 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can I convert a string to a number?

1080


Write a program to find factorial of a number using recursive function.

1118


C program to find all possible outcomes of a dice?

2348


What is use of pointer?

1077


formula to convert 2500mmh2o into m3/hr

986


Explain 'far' and 'near' pointers in c.

1138


Explain what is the advantage of a random access file?

1118


How can I get random integers in a certain range?

1058


Are c and c++ the same?

1050


What is the use of sizeof () in c?

1045


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1266


How do I send escape sequences to control a terminal or other device?

1070


How can I pad a string to a known length?

1032


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1965


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

1598