Maker Pro
Maker Pro

Print the string of structure

can see where you made the mistake.
I am sorry You are correct I don't have good understanding about for statement
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;

}
How to map loop
 
Top