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 difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What is the use of object in c++?
What is the most powerful coding language?
What c++ library is string in?
Is c++ slower than c?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
Can we get the value of ios format flags?
How would you find out if a linked-list is a cycle or not?
Explain the virtual inheritance in c++.
Can union be self referenced?
Why do we use templates?
What is vector processing?
How can I improve my c++ skills?
What are proxy objects in c++?
When should we use multiple inheritance?