how to swap two numbers with out using temp variable
Answer Posted / kusum
if (a>b)
temp=a;
a=b;
b=temp;
| Is This Answer Correct ? | 0 Yes | 21 No |
Post New Answer View All Answers
Will rust take over c++?
Describe private, protected and public – the differences and give examples.
What is difference between array and vector in c++?
What is an html tag?
What are move semantics?
What is std namespace in c++?
What is flag in computer?
Where do I find the current c or c++ standard documents?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What are libraries in c++?
What is the difference between an array and a list?
What is the difference between a template and a macro?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
How much is c++ certification?
What is meant by a delegate?