write a program to swap Two numbers without using temp variable.
Answer Posted / nikhil godani
a=a+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by int main ()?
Is it better to bitshift a value than to multiply by 2?
What is function prototype in c language?
What does void main return?
How can I get back to the interactive keyboard if stdin is redirected?
What does the file stdio.h contain?
What does c in a circle mean?
write a program to generate address labels using structures?
Is boolean a datatype in c?
What is the difference between the expression “++a” and “a++”?
Explain what is #line used for?
What’s the special use of UNIONS?
What is a function in c?
What is difference between scanf and gets?
What is advantage of pointer in c?