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
Write about c++ storage classes?
How can I improve my c++ skills?
Is c++ harder than java?
What is a v-table?
What is the use of register keyword with the variables?
What is virtual methods?
What you know about structures in C++?
What is lvalue?
Write a program to concatenate two strings.
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
Which software is best for c++ programming?
What are the unique features of C++.
What is virtual destructor ans explain its use?
What is an object in c++?
Why c++ is better than c language?