Home » Technical Questions » Programming

What would be the output of the following program? main() { extern int i; i = 20; printf( "%d", sizeof(i) ); }

Correct Answer: extern int i is a declaration and not a definition, hence Error occured

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion