Original Post
The college class I'm taking for C asked this question in the textbook; not homework book and I don't understand what it's saying or what the result will be. Here is a simple way to test the effect of a continue statement in the body of a for loop. What is printed? I tried inserting this into a program to see what it would output and couldn't get it to work. What am I doing wrong or missing here? *edited for typos*
for (putchar('1'); putchar('2'); putchar('3')) {
putchar('4');
continue;
putchar('5');
}