NBA - Boston Celtics

Sunday, 15 January 2012

swapping in C

#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
              int a,b,c;
               a=1;b=2;
               c=a;
               a=b;
               b=c;
                                    printf("%d\n%d",a,b);
getch();
}

No comments:

Post a Comment