MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code (without linking the source file in which ary1 is defined)? #include int main() { extern ary1[]; printf("scope rules\n"); } |
| A. | scope rules |
| B. | Linking error due to undefined reference |
| C. | Compile time error because size of array is not provided |
| D. | Compile time error because datatype of array is not provided |
| Answer» B. Linking error due to undefined reference | |