डाउनलोड पी.डी.एफ. ई-बुक्स
C - Break Statement

विवरण :

कोई विवरण नहीं है |


सोर्स कोड :

#include<stdio.h>
#include<conio.h>

void main()
{
int i=0;
while ( i < 20 )
{
printf("value of i is %d\n", i);
i++;
if ( i == 10)
break;
}
getch();
}

आउटपुट :

value of i is 0
value of i is 1
value of i is 2
value of i is 3
value of i is 4
value of i is 5
value of i is 6
value of i is 7
value of i is 8
value of i is 9