Answer Posted / abdul rahman
void main()
{
int a,b;//example a=10,b=12;
a=a~b;//a=22
b=a~b;//b=10;
a=a~b;//a=12
}
NOTE:
~=XOR operator( not able to write xor
operator so iam using this symbol which is not
correct)
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Why is oop better than procedural?
Why do we need polymorphism in c#?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
write a C++ program for booking using constructor and destructor.
Is data hiding and abstraction same?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What are the important components of cohesion?
What is object in oop with example?
Get me an image implementation program.
What is pure oop?
What is the difference between procedural programming and oops?
What is variable example?
What is the purpose of enum?
Can we have inheritance without polymorphism?
Why we use classes in oop?