1.

What is the output of this code having void return-type function? void foo() { return 1; } void main() { int x = 0; x = foo(); printf("%d", x); }

A. 1
B. Runtime error
C. Compile time error
Answer» E.


Discussion

No Comment Found