Nguyễn Thiệu Vy
Member
What will be the output of the following C code?
A. 2 2
B. 2
C. Compile time error
D. Depends on the compiler
Code:
#include <stdio.h>
int main()
{
void foo();
void f()
{
foo();
}
f();
}
void foo()
{
printf("2 ");
}
B. 2
C. Compile time error
D. Depends on the compiler