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

what is the significance of static storage class specifier?

1651


How can I insert or delete a line (or record) in the middle of a file?

568


Is c is a procedural language?

589


using for loop sum 2 number of any 4 digit number in c language

1725


What is structure in c language?

610






What is the difference between array and pointer?

560


Which is more efficient, a switch statement or an if else chain?

571


What is string in c language?

617


Can you assign a different address to an array tag?

691


What is data structure in c language?

598


What is malloc() function?

630


What is the difference between %d and %i?

586


What is #include stdio h and #include conio h?

592


What are the characteristics of arrays in c?

605


What does 2n 4c mean?

704