Page 1 of 1

What will be the output of the following C code (without linking the source file in which ary1 is defined)?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
Get Free Certificate of Merit in C Programming Now!
advertisement


var adpushup = window.adpushup || {};
adpushup.que = adpushup.que || [];
adpushup.que.push(function () {
if (adpushup.config.platform === "MOBILE") {
adpushup.triggerAd("fdd9bf87-4faf-4493-82b4-e5538b31931a");
} else if ((window.outerWidth <= 768) || (window.outerWidth == 0)) {
adpushup.triggerAd("fdd9bf87-4faf-4493-82b4-e5538b31931a");
}
});
#include <stdio.h> 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