Yatendra AwanaJul 21, 20211 min readwrite a c program to swap the value of two variable#include<stdio.h>void main(){ int a=8,b=7,temp; printf("a=%d, b=%d\n",a,b); temp=a; a=b; b=temp; printf("a=%d, b=%d\n",a,b); getch();}
#include<stdio.h>void main(){ int a=8,b=7,temp; printf("a=%d, b=%d\n",a,b); temp=a; a=b; b=temp; printf("a=%d, b=%d\n",a,b); getch();}
Program to find biggest number from three given numbersProgram to find biggest number from three given numbers
Comments