how to swap two numbers with out using temp variable
Answer Posted / prasannaroy
a=10;
b=20;
b=a+b-(a=b);
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is the most powerful coding language?
How can you tell what shell you are running on unix system?
What are the two types of polymorphism?
Which is the best c++ software?
Define private, protected and public access control.
What are the important differences between c++ and java?
Where Malloc(), Calloc(), and realloc() does get memory?
What is pointer -to-members in C++? Give their syntax?
What character terminates all character array strings a) b) . c) END
Is c++ still in demand?
What are c++ tokens?
What is data types c++?
What is implicit pointer in c++?
What is the output of the following program? Why?
Can we make any program in c++ without using any header file and what is the shortest program in c++.