Q. What is the output of C Program with functions and pointers?
Code:
int myshow(int);
void main()
{
int a=10;
myshow(a);
myshow(&a);
}
int myshow(int b)
{
printf("Received %d, ", b);
}
β
Correct Answer: (C)
Received 10, Received RANDOMNumber, with a compiler warning