Please find the output of the following program:
Finclude<stdio.h>
Void main
inti-
for(i=1;i<= 5; i++)
2
printf(%d", oko;
Answers
Answer:
1 | Please find the output of the following program:
| ^~~~~~
main.c:1:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘the’
1 | Please find the output of the following program:
| ^~~
main.c:1:13: error: unknown type name ‘the’
main.c:5:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<=’ token
5 | for(i=1;i<= 5; i++)
| ^~
main.c:5:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
5 | for(i=1;i<= 5; i++)
| ^~
main.c:7:10: warning: missing terminating " character
7 | printf(%d", oko;
| ^
main.c:7:10: error: missing terminating " character
7 | printf(%d", oko;
| ^~~~~~~
Explanation: