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
How do I copy files?
What is the return type of sizeof?
program for reversing a selected line word by word when multiple lines are given without using strrev
How is = symbol different from == symbol in c programming?
Which is an example of a structural homology?
Why c language is called c?
In C, What is the #line used for?
Why we use void main in c?
Can we access the array using a pointer in c language?
What is the total generic pointer type?
What is union and structure in c?
What is the value of uninitialized variable in c?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Which is better pointer or array?
What is difference between constant pointer and constant variable?