Function to swap strings in C
Write a C language function that will swap two strings.
How to swap 2 variables witout using third
The usual method of swapping two numbers, using a temporaty variable is as shown below. // Swapping 2 int, X & Y using temporary variable t int t = X; X = Y; Y = t; How will you swap two numbers without using a temporary variable?