Interview Question in Visual Studio 2005


 

Interview Question :: Continue statement help

Can someone help me again. I'm trying to find out what this continue statement will display on the screen, but I keep getting this error:

fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\reggie\my documents\visual studio 2005\projects\continue statement\continue statement\continue statement.cpp(5)' was matched

this is the program that I wrote:

#include <stdio.h>
#include <stdafx.h>

int main (void)
{
for (putchar('1'); putchar('2'); putchar('3')){
putchar('4');
continue;
putchar('5');
}

Please tell me where I went wrong.
by ksk