how to swap two numbers with out using temp variable
Answer Posted / sachin patil
a = 5;
b = 10;
a = a+b;
b = a-b;
a = a-b;
| Is This Answer Correct ? | 55 Yes | 5 No |
Post New Answer View All Answers
Why is c++ a mid-level programming language?
What are the differences between malloc() and calloc()?
Can we use clrscr in c++?
What is a dynamic binding in c++?
What is meant by entry controlled loop?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What do you mean by translation unit?
Explain what are accessor methods?
What new()is different from malloc()?
How do I start a c++ project?
What apps are written in c++?
Incase of a function declaration, what is extern means?
What are the important differences between c++ and java?
What are the 2 main types of data structures?
What does ios :: app do in c++?