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