C Language Daily Challenge: No.1 Swapping Values of Two Variables – How Many Methods Can You Write?
đ Problem Description Write a function to swap the values of two integer variables. Example Input: a = 5, b = 10 Example Output: a = 10, b = 5 Difficulty: â (suitable for beginners, but how many methods can you think of?) đĄ Initial Thoughts You might think: “Isn’t this just using a temporary … Read more