// Swapping logic temp = a; a = b; b = temp;
printf("Before swap: a = %d, b = %d\n", a, b);
printf("After swap: a = %d, b = %d\n", a, b); return 0;