#include <stdio.h>

int main() {
    int x,y,t;
    
    printf("Enter value A & value B for swapping:");
    scanf("%d %d",&x,&y);
    printf("\n you have enter A=%d & B=%d",x,y);
    t=x;
    x=y;
    y=t;
    printf("\n aftrer swapping A=%d & B=%d ",x,y);
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: