Page 1 of 1

Comment on the output of the following C code. #include <stdio.h> int main() { int i; for (i = 0;i <

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) a is out of scope when printf is called
b) Redeclaration of a in same scope throws error
c) Syntax error in declaration of a
d) No errors, program will show the output 5