Question
What is the output of this C code?
void foo();
int main()
{
void foo(int);
foo();
return 0;
}
void foo()
{
printf("2 ");
}
void foo();
int main()
{
void foo(int);
foo();
return 0;
}
void foo()
{
printf("2 ");
}
Answer: Option B
Was this answer helpful ?
None.
Was this answer helpful ?
More Questions on This Topic :
Question 2. Which of following is not accepted in C? ....
Question 6. The scope of an automatic variable is: ....
Question 10. Automatic variables are stored in: ....
Submit Solution