Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 do you work around them?

0 Answers   Amazon,


What does it mean to declare a member function as virtual in C++?

0 Answers   Amazon,


How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

0 Answers   Adobe,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


What is placement new?

1 Answers   Amazon,


How do you write a function that can reverse a linked-list in C++?

0 Answers   IBS,


When would you choose to return an error code rather than throw an exception?

0 Answers   Amazon,


What is function overloading and operator overloading in C++?

0 Answers   IBS, TCS,


Tell How To Check Whether A Linked List Is Circular ?

1 Answers   IBS, Infosys,


Write a C++ Program to find Addition of Two Numbers.

1 Answers  


Categories