how to swap two strings without using any third variable ?
Answers were Sorted based on User's Feedback
Answer / sivaraj
Is the Answer 1 posted by ashutosh works for nagative numbers ?
best answer :
a=a^b;
b=a^b;
a=a^b;
Is This Answer Correct ? | 7 Yes | 15 No |
what is C++ objects?
Can comments be nested?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is the full form of india?
What is the difference between global variables and static varables?
What will happen if when say delete this ?
What is the difference between new/delete and malloc/free?
Is c++ platform dependent?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
Why should we use null or zero in a program?
What is difference between malloc()/free() and new/delete?
what are the iterator and generic algorithms.