swap two integer variables without using a third temporary
variable?
Answer Posted / vignesh1988i
the best way what i choose is that : if x=89 , y=-88
x^=y^=x^=y;
this line will swap the above numbers......
thank u
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What are the benefits of c language?
Why array is used in c?
What is gets() function?
How do I use void main?
Explain what is the advantage of a random access file?
What is the stack in c?
difference between Low, Middle, High Level languages in c ?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
Write a program to find the biggest number of three numbers in c?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What is realloc in c?
What is c definition?
What is a structure and why it is used?
What is difference between %d and %i in c?
What is meant by inheritance?