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
What is calloc malloc realloc in c?
Tell me what are bitwise shift operators?
Explain what are reserved words?
which type of aspect you want from the student.
find the sum of two matrices and WAP for it.
Is a house a shell structure?
What is a static function in c?
What is a nested loop?
What are the properties of union in c?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
How pointers are declared?
Write a function that will take in a phone number and output all possible alphabetical combinations
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is a built-in function in C?
Is c a great language, or what?