how to swap two strings without using any third variable ?
Answer Posted / mathias karlsson
X = X & Y
Y = X.Substring(&H0, X.Length - Y.Length)
X = X.Substring(X.Length - Y.Length, Y.Length)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is purpose of new operator?
Is eclipse good for c++?
Is facebook written in c++?
What is an object in c++?
Is c++ the hardest programming language?
What is the difference between global variables and static varables?
What methods can be overridden in java?
What is setiosflags c++?
What is the operator in c++?
Is c++ the hardest language?
What is ios class in c++?
how to explain our contribution in the project?
What is general format for a prototype?
What is scope in c++ with example?
Which software is used to run c++ program?