1.

What will be the output of the following C code having void return-type function?#include <stdio.h> void fun() { return 5; } void main() { int n = 4; n = fun(); printf("%d", n); }

A. 5
B. 4
C. Compilation Error
D. Runtime Error
E. None of these
Answer» D. Runtime Error


Discussion

No Comment Found