Connect with us

Print the string of structure

Discussion in 'Microcontrollers, Programming and IoT' started by vead, Feb 9, 2018.

  1. vead

    vead

    473
    14
    Nov 27, 2011
    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
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-