I am sorry You are correct I don't have good understanding about for statementcan see where you made the mistake.
answer in a #33 is wrong. it should be i = 3, j = 3
Thank you very much for continue to help. I want to learn use of for statement in c
as you said in post #28
I made two loop in one program
Code:
#include <stdio.h>
int main()
{
int i;
for (i = 0; i <5; i++)
{
printf(" i %d \n",i);
}
int j = 1;
while ( j < 5)
{
printf(" j %d \n",j);
j++;
}
return 0;
}