google407ec42f1ae5ff0e.html
top of page

write 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();

}

Recent Posts

See All

Comentários


Facilities-:
One to one  online  / Offline Class
Individual training 
Corporate Training
E-Certificate for each course
Life time video accessible
E-Books

About us-:
Fin Computer Class
Sector 107, Noida  U.P.
M-: 9871715299
E: fincomputerclass@gmail.com
W-: www.computerclass.co.in
W-: www.it402.com
Y-:www.youtube.com/yka39

All Rights Reserved @ fin computer class     Design & Developed by Yatendra Kumar Awana

bottom of page