write a program to swap Two numbers without using temp variable.
Answer Posted / prashant
b=a+b;
a=b-a;
b=b-a;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is c fast?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
In C, What is the #line used for?
Can an array be an Ivalue?
Why main is used in c?
What is the process to generate random numbers in c programming language?
What's the right way to use errno?
How can I trap or ignore keyboard interrupts like control-c?
Is it fine to write void main () or main () in c?
What is the difference between abs() and fabs() functions?
What are the advantages of union?
Explain how do you override a defined macro?
What is pointer to pointer in c with example?
What does the function toupper() do?
What does 4d mean in c?