C Programming

Discussion in 'Programming' started by ANPrince0600, Dec 31, 2011.

  1. #1
    Structure of some Loop used in c programming:

    for loop:

    for(initialization, condition, increment/decrement) {
    body of the loop;
    }

    While loop:

    initialization;
    while(condition) {
    body of the loop;
    }
    increment/decrement;

    Do...while loop:

    initialization;
    do{
    body of the loop;
    }while(condition);
     
    ANPrince0600, Dec 31, 2011 IP
  2. Time2303

    Time2303 Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I see.. purpose of posting this? Other than +post count, I mean.
     
    Time2303, Dec 31, 2011 IP
  3. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    819
    Best Answers:
    7
    Trophy Points:
    320
    #3
    What is your question? What is your problem?
     
    mmerlinn, Dec 31, 2011 IP
  4. NothingLikeThis

    NothingLikeThis Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #4
    nice post but is there any trouble dear ?let us help you in this regards
     
    NothingLikeThis, Jan 5, 2012 IP