Vidyalelo
C Programming · Q166

Function

Programming · C Programming · question 166

Q166

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 ");

A.
scope rules
Answer
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: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board