Break in C

* BREAK *

Break is use to end loop body

| break;  |

------------------------------

Break run screen 

------------------------------


$ source code $

##################

#include<stdio.h>
#include<conio.h>
// code by [UB] //
main()
{
    int i=i,x;
    while(i<=5)
    {
        printf("enter a number= ");
        scanf("%d",&x);

        if(x<=0)
            break;
        i++;

    }

    i==6 ? printf("end normaly") : printf("apply break");

    getch();

}

###############################


*ALL RIGHTS GOES TO [UB CODES]* 

\-----------------------------------------------------/

Popular posts from this blog

[2D] ARRAY

Switch in C

2D [STRING] IN C