title: cannot convert int to int *
body: <pre><code>#include "stdio.h"
  #include "conio.h"
  
  void swap(int *x,int *y);
  
  void main()
  {
  int a=10,b=20;
  swap(a,b);
  printf("value of a=%d and b=%d");
  getch();
  }
  
  void swap(int *x,int *y)
  
  {
    if(x!=y)
       {
        *x ^= *y;
           *y ^= *x;
           *x ^= *y;
  
       }
  }
  </code></pre>
  
  <p>// I'm getting .. cann't convert int to int * ...</p>
  
  <p>can anybody tell me why so . and how to solve it
  regards.</p>
  
  <p>hoping for quick and positive response.</p>