Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  pointers
Language: C/C++
Code:
#include<stdio.h>
main()
{
    int *x,*y,*temp;
    printf("Enter values of x and y:n");
    scanf("%d%d",x,y);
    *temp=*x;
    *x=*y;
    *y=temp;
    printf("The values after swaping %d,%d",*x,*y);
    return 0;
}
          
          
Comments: