Consider the following program segment
int main ( )
{
char ∗ str = “GATECS”;
printf (“%d”, madeeasy (str));
return 0;
}
int madeeasy (int ∗ p1)
{
int ∗ p2 = p1;
while (∗++p1);
return (p1 – p2);
}
The output of the above program will be ______. Assume that the object of data type int occupies 2 bytes.
Is this question right because according to me types are not same when we pass argument inside madeeasy?