I am unable to understand the error code. What does 'invalid conversion from int to int mean ? plz help.
The code-
#include <stdio.h>
int function(int *);
int main()
{
int i=35,*z;
z=function (&i);
printf("%d\n",z);
return 0;
}
int function(int *m)
{
return(*m+2);
}
the question is to find the error in the code.