Keyword extern variable

a) It is globally accessible by all function
b) Variable has a declaration “extern” associated with it when declared within a function
c) Will be initialized to 0 if not initialized
d)there extern variable is assign there value in there outside main function other wise it will give linker error

Post a Comment

0 Comments