c program for swapping of two numbers

#include <stdio.h>
int main() {
    int first, second, temp;
    printf("Enter first number: ");
    scanf("%d", &first);
    printf("Enter second number: ");
    scanf("%d", &second);
    printf("Before swapping: first = %d, second = %d\n", first, second);
    temp = first;
    first = second;
    second = temp;
    printf("After swapping: first = %d, second = %d\n", first, second);
    return 0;
}