how to swap two numbers with out using temp variable
Answer Posted / vaibhav meena
Its simple:
For Integer Values
A^=B^=A
and with arithmetic operators :
All the above answers are right
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What does count ++ do in c++?
When does a 'this' pointer get created?
What is void pointer in c++ with example?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
What are c++ stream classes?
What is difference between class and function?
What are references in c++?
What is pointer to array in c++?
Does c++ support multilevel and multiple inheritances?
What is endl c++?
What are the two shift operators and what are their functions?
What does I ++ mean in c++?
What do you understand by pure virtual function? Write about its use?
What is the difference between multiple and multilevel inheritance in c++?
What's the order in which the objects in an array are destructed?