Write a program to interchange two variables without using
the third variable?
Answer Posted / saravanan j (srm universi
you can apply it on any language?!
x = x xor y
y = x xor y
x = x xor y
* 1 year ago
Source(s):
Self Expierince
| Is This Answer Correct ? | 18 Yes | 12 No |
Post New Answer View All Answers
What are void pointers in c?
How do I use void main?
What is the general form of function in c?
How can I read in an object file and jump to locations in it?
Is anything faster than c?
What is volatile c?
Is c compiled or interpreted?
Differentiate between functions getch() and getche().
How does placing some code lines between the comment symbol help in debugging the code?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What are the advantages of using macro in c language?
What is a void * in c?
What is realloc in c?
What is the right type to use for boolean values in c? Is there a standard type?