MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-C-Programming-Course / main

Function main

Chapter 4/12_break_continue.c:3–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main(){
4 for (int i = 0; i < 15; i++)
5 {
6 if(i==5){
7 // break; // exit the loop now!
8 continue; // skip this iteration now
9 }
10 printf("i is %d\n", i);
11 }
12
13 printf("For loop is done!");
14
15 return 0;
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected