このプログラムがどのように実行され、エラーがスローされないのか疑問に思っています。
void main( )
{
clrscr();
int i ;
for ( i = 1 ; i <= 5 ; printf ( "\n%c", 65 ) ) ;
i++ ;
getch();
}
ループは A を永遠に印刷し続けます。forループのフォーマットは
for(initialize value; test counter; increment value)
{
do this;
and this;
and this;
}
私の質問は、どのように printf("\n %c", 65) 値をインクリメントできますか?