Page 1 of 1

Will the following C code compile without any error?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
#include <stdio.h> int main() { for (int k = 0; k < 10; k++); return 0; }
a) Yes
b) No
c) Depends on the C standard implemented by compilers
d) Error