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
Explain abstraction.
What is the difference between a template and a macro?
What are the stages in the development cycle?
Which should be more useful: the protected and public virtuals?
what is upcasting in C++?
What are the various operations performed on stack?
How java is different from c and c++?
What is a buffer c++?
Explain polymorphism?
What are stacks? Give an example where they are useful.
What is private inheritance?
What is abstraction c++?
Define a pointer to a data member of the type pointer to pointer?
How many types of comments are there in c++?
What is c++ flowchart?