What will be output of the following “c” code?


Loading

โœช Choose the correct option.

What will be output of the following “c” code?


#include



void main() {

printf("ABCDEFG");

printf(4+"ABCDEFG");

printf("ABCDEFG"+4);

printf("%c", "ABCDEFG" [4]);

printf("%c", 4["ABCDEFG"]);

}

A. ABCDEFG
EFG
EFG
E
E
B. Compilation Error
C. No output No Error
D. ABCDEFG
ABCDEFG
ABCDEFG
ABCDEFG
ABCDEFG