write a c programme for add of two numbers with out use of
arthematic operators
Answer Posted / upendra pratap shahi
int xor, and, temp;
and = x & y;
xor = x ^ y;
while(and != 0 )
{
and <<= 1;
temp = xor ^ and;
and &= xor;
xor = temp;
}
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Why do we use header files in c?
Who is the founder of c language?
What is #include conio h?
In c language can we compile a program without main() function?
Explain how does free() know explain how much memory to release?
What are extern variables in c?
What are nested functions in c?
What is #include stdio h and #include conio h?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
The file stdio.h, what does it contain?
What is a node in c?
What is the difference between int main and void main?
What is getch () for?
Why we use conio h in c?
Explain what is the difference between text files and binary files?