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 is scope rule in c?
Tell me with an example the self-referential structure?
Why we not create function inside function.
What is scope rule of function in c?
What is a rvalue?
What is a example of a variable?
What is getche() function?
How can you return multiple values from a function?
What are the two forms of #include directive?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What do you mean by dynamic memory allocation in c?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Explain what is wrong with this program statement?
What is a ternary operator in c?
What are keywords c?