what will be the output of the following code?
int myshow(int);
void main()
{
int a=10;
myshow(a);
myshow(&a);
}
int myshow(int b)
{
printf("Received %d, ", b);
}
- Received 10, Received RANDOMNumber,
- Received 10, Received 10,
- Received 10, Received RANDOMNumber, with a compiler warning
- None of the above
Correct Answer:
Received 10, Received RANDOMNumber, with a compiler warning
need an explanation for this answer? contact us directly to get an explanation for this answer