Without using third variable write a code to swap two numbers.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

How to delete array of objects in C++? Proof by C++ code for proper deletion

0 Answers  


Write a C++ Program to find Square Root of a number using sqrt() function.

1 Answers  


In C++ what do you mean by Inheritance?

0 Answers   Accenture,


Explain what happens when an exception is thrown in C++.

0 Answers   Amazon,


What is meant by exit controlled loop?

0 Answers   Adobe,






Write a C++ Program to Reverse a Number using while loop.

1 Answers  


Is there a difference between class and struct?

0 Answers  


Explain the difference between C and C++.

0 Answers   Accenture,


explain the term 'resource acquisition is initialization'?

0 Answers   Amazon,


Tell How To Check Whether A Linked List Is Circular ?

1 Answers   IBS, Infosys,


What do you by Function Overloading in C++?

0 Answers   Akamai Technologies, Infogain,


Write a program to generate the Fibonocci Series in C++.

0 Answers   Accenture,


Categories