# include <stdio.h>
int abc(int & x)
{
return x;
}
int main()
{
int y = 0;
abc (y++); // error here
return 0;
}
error is error C2664: 'abc' : cannot convert parameter 1 from 'int' to 'int &'
But if i call the same function as abc ( y ) ; Then it shows no error. Can some one tell me the reason