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 |
Write a program in c++ to read two floating point numbers and find their sum and average.
write string class as your own class in java without using any built-in function
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)
What is abstraction oop?
What is destructor example?
what is function over loading?
why to use operator overloading
Does c++ support multilevel and multiple inheritance?
write a c++ code of diagonal matrix.
difine hierarchical inheritance.
Name a typical usage of polymorphism
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?