1.

What will be the output of the following C code (after linking to source file having definition of arrayA)?
#include <stdio.h>
int main()
{
extern arrayA[];
printf("%d n", arrayA[0]);
}

A. Compile time error due to multiple definitio
B. Compile time error because size of array is not provided
C. Compile time error because datatype of array is not provided
D. Value of arrayA[0];
E. None of these
Answer» D. Value of arrayA[0];


Discussion

No Comment Found

Related MCQs