how to swap two numbers with out using temp variable
Answer Posted / sachin patil
a = 5;
b = 10;
a = a+b;
b = a-b;
a = a-b;
Is This Answer Correct ? | 55 Yes | 5 No |
Post New Answer View All Answers
Explain class invariant.
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Can a Structure contain a Pointer to itself?
What are stacks?
What is main function in c++ with example?
Define a nested class.
What is the use of bit fields in structure declaration?
Why c++ is created?
What is else syntax in c++?
What are static type checking?
What are vectors used for in c++?
What is std namespace in c++?
What are static variables?
Which is not a valid keyword a) public b) protected c) guarded
What is a local reference?