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 is the use of bitwise operator?
What is a dynamic array in c?
which type of aspect you want from the student.
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is context in c?
What is an lvalue in c?
Explain indirection?
Tell us something about keyword 'auto'.
What is this infamous null pointer, anyway?
can anyone suggest some site name..where i can get some good data structure puzzles???
What does main () mean in c?
What is difference between structure and union?
How can a string be converted to a number?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
Explain the difference between null pointer and void pointer.