write a program to swap Two numbers without using temp variable.
Answer Posted / anil joshi
b=(a*a)/a+(a=b)-a;
| Is This Answer Correct ? | 13 Yes | 11 No |
Post New Answer View All Answers
Can you apply link and association interchangeably?
What does %d do?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Where local variables are stored in c?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Can you explain the four storage classes in C?
What is a scope resolution operator in c?
Tell me what is the purpose of 'register' keyword in c language?
What is the difference between text and binary modes?
Why ca not I do something like this?
what value is returned to operating system after program execution?
What do the functions atoi(), itoa() and gcvt() do?
Can you please explain the difference between exit() and _exit() function?
Explain how can I prevent another program from modifying part of a file that I am modifying?