i^=j;
j^=i;
i^=j;
value of i,j
Answer / xyz
this code snippet will swap the value of i and j
This code works same as
i=i+j;
j=i-j;
i=i-j;
| Is This Answer Correct ? | 2 Yes | 1 No |
What are oops methods?
1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?
Which is the only operator in C++ which can be overloaded but NOT inherited?
What is interface in oop?
what is overloading
How do you use inheritance in unity?
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }
What is virtual constructors/destructors?
What are the benefits of polymorphism?
what is the 3 types of system development life cycle
Write 7 differences between "Public" function and "Private" function?