Program to swap two Numbers

Share it Please
Description:
This program in used to swap the values of two numbers entered by any user.

Program:

#include<stdio.h>
#include<conio.h>
main()
{
           int a,b,temp;
           clrscr();
           printf("Enter First Number: ");
           scanf("%d",&a);
           printf("\nEnter Second number: ");
           scanf("%d",&b);
           temp=a;
           a=b;
           b=temp;
           printf("\nAfer swap a=%d,b=%d",a,b);
           getch();
}