SubhanUllah Posted October 31, 2022 Report Posted October 31, 2022 int a = 6; int b = 2; std::cout << "a=" << a << " b=" << b << "\n"; int temp = a; a = b; b = temp; std::cout << "a=" << a << " b=" << b << "\n"; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.