/* * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 * Repo: https://github.com/notamitgamer/bsc * License: MIT */ /* WAP to swap two integers. Display both numbers before and after swap */ #include int main() { int a = 10, b = 20, temp; printf("Before swap A : %d, B : %d", a, b); temp = a; a = b; b = temp; printf("\nAfter swap A : %d, B : %d", a, b); return 0; }