Complete Video Learning
Table of Contents
#include<conio.h>
#include<stdio.h>
void main()
{
int a,b,temp;
printf("Enter Value of a=");
scanf("%d", &a);
printf("\nEnter Value of b= ");
scanf("%d", &b);
temp = a;
a = b;
b = temp;
printf("\nafter swap a=%d b=%d",a,b);
getch();
}
Enter value of a= 5
Enter value of b= 7
after swap a=7,b=5
SHOW YOUR SUPPORT FOR NIELITBHU..!!
Dear reader, thank you for joining us. Readers like you are an inspiration for us to pursue NIELITBHU. We need your support or cooperation to further empower NIELITBHU and reach NIELITBHU more people in every corner of the country. Your every support is invaluable to our future.