+ 1

#include <stdio.h> int main() { int i=0; for(i=1;i<=5;i++); printf("%d",i); return 0; }

Why this code give output 6

30th Dec 2020, 3:59 AM
Ankit Kumar
1 Antwort
+ 6
Ankit Kumar See after loop there is semicolon.
30th Dec 2020, 4:05 AM
A͢J
A͢J - avatar