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
c program for searching a student details among 10 student details
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What is the newline escape sequence?
Can we declare a function inside a function in c?
What are the types of operators in c?
Why isn't it being handled properly?
What is calloc malloc realloc in c?
Explain the priority queues?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What are run-time errors?
Can you subtract pointers from each other? Why would you?
What is cohesion in c?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What is the difference between abs() and fabs() functions?
What is the purpose of 'register' keyword?