how to swap two numbers with out using temp variable
Answer Posted / vaibhav meena
Its simple:
For Integer Values
A^=B^=A
and with arithmetic operators :
All the above answers are right
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Define vptr.
If a header file is included twice by mistake in the program, will it give any error?
how to access grid view row?
what are the types of Member Functions?
What operator is used to access a struct through a pointer a) >> b) -> c) *
How the delete operator differs from the delete[]operator?
Is there any function that can skip certain number of characters present in the input stream?
How do I use turbo c++?
What is c++ redistributable?
Which field is used in c++?
Is it possible to get the source code back from binary file?
Define stacks. Provide an example where they are useful.
What is runtime errors c++?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
Can we distribute function templates and class templates in object libraries?