• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Loops in C
 

Loops in C

on

  • 72 views

This slide give the introduction to the various loops available in C Programming. Which include while loop, do while loop and for loop.

This slide give the introduction to the various loops available in C Programming. Which include while loop, do while loop and for loop.

Statistics

Views

Total Views
72
Views on SlideShare
72
Embed Views
0

Actions

Likes
0
Downloads
12
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Loops in C Loops in C Presentation Transcript

    • WHILE DO..WHILE FOR EXITING FROM A LOOP (BREAK,CONTINUE, GOTO) Loops
    • While
    • While
    • While
    • While
    • Do…While
    • D0…While
    • Do…While
    • Do…While
    • For Loop
    • For Loop
    • For Loop
    • For Loop
    • For Loop
    • For Loop
    • For Loop
    • Break Statement  It is an jump instruction and can be used inside the switch and loop statements.  The execution of the break statements causes the control transfer to the statement immediately after the loop.
    • Break Statement
    • Break Statement
    • Break Statement
    • Break Statement
    • Break Statement
    • Break Statement
    • Continue Statement  It is a jump statement.  It is used only inside the loop.  Its execution does not exit from the loop but escape the loop for that iteration and transfer the control back to the loop for the new iteration.
    • Continue Statement
    • Continue Statement
    • Continue Statement
    • Continue Statement
    • Continue Statement
    • Goto Statement  It is used the alter the normal sequence of flow by transferring the control to some other part of the program unconditionally.  It is followed by the label statement which determine the instruction to be handled next after the execution of the goto statement.
    • Goto Statement
    • Goto Statement
    • Goto Statement
    • Goto Statement