write a program to swap Two numbers without using temp variable.
Answer Posted / raghavendra
a=3;
b=2;
a=a^b;
b=a^b;
a=a^b;
printf("%d%d",a,b);
| Is This Answer Correct ? | 34 Yes | 21 No |
Post New Answer View All Answers
What is the size of empty structure in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is hashing in c?
What is the -> in c?
What are loops c?
How can you draw circles in C?
What is the difference between memcpy and memmove?
Explain how can you tell whether two strings are the same?
What is the difference between a free-standing and a hosted environment?
if p is a string contained in a string?
cavium networks written test pattern ..
What is maximum size of array in c?
Differentiate between the = symbol and == symbol?
How a string is stored in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above