I so confused about parameter types in C++ I have two functions in following code:
void degistir2( int *x, int *y )
{ 
   int gecici;
   gecici = *x; *x = *y;
   *y = gecici;
}
void degistir3( int &x, int &y )
{ 
    int gecici;
    gecici = x; x = y;
    y = gecici;
}
What is the difference of these functions? I know the pointers and references but I don't know how it works in above functions.
 
    