Vidyalelo
C Programming · Q153

Function

Programming · C Programming · question 153

Q153

What will be the output of the following C code (after linking to source file having definition of ary1)? #include int main() extern ary1[]; printf("%d ", ary1[0]);

A.
Value of ary1[0];
B.
Compile time error due to multiple definition
C.
Compile time error because size of array is not provided
D.
Compile time error because datatype of array is not provided
Answer

Answer: Option D

Solution

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