#include <stdio.h> int main() { extern ary1[]; printf("%d\n", 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
What will be the output of the following C code (after linking to source file having definition of ary1)?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C code (after linking to source file having definition of ary1)?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!