C program to swap two numbers






#include<stdio.h>
int main(){
    int a,b,c;
    scanf("%d %d",&a,&b);
   
    c = a;
    a = b;
    b = c;

    printf("%d %d",a,b);
    return 0;
}




Post a Comment