Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  swap
Language: C/C++
Code:
#include <stdio.h>
void main()
{
 int a,b,c;
 printf("enter the numbers to swap:");
 scanf("%d%d",&a&b);
 c=a;
 a=b;
 b=c;
 printf("after swap a=%d and b=%d",a,b);
 getch();
}
          
          
          
          
          
          
Comments: