A
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);
}
void main()
{
int a=10;
myshow(a);
myshow(&a);
}
int myshow(int b)
{
printf("Received %d, ", b);
}
- Correct Answer - Option(C)
- Views: 28
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.