+ 3

What is break in c language

29th Oct 2019, 7:37 AM
Aftab Khan
Aftab Khan - avatar
9 Answers
+ 8
break can also exit a switch statement.
30th Oct 2019, 1:24 AM
Sonic
Sonic - avatar
+ 7
It is a statement that immediately terminates a loop statement from iterating. If loops are nested, break statement will only break the innermost loop.
29th Oct 2019, 8:20 AM
Seb TheS
Seb TheS - avatar
+ 5
Read the SoloLearn course first. https://www.sololearn.com/learn/C/2926/
29th Oct 2019, 7:42 AM
ThĂŠophile
ThĂŠophile - avatar
+ 5
Break statement do what it literally means , it breaks the loop
29th Oct 2019, 12:17 PM
Arsenic
Arsenic - avatar
+ 2
And It almost use in all popular programming languages
29th Oct 2019, 11:46 PM
spyrax10
spyrax10 - avatar
+ 2
The break is a keyword in C which is used to bring the program control out of the loop. The break statement is used inside loops or switch statement. ... The break statement in C can be used in the following two scenarios: With switch case. With loop. ••••••••••••••••••• Birthday Boy•••••••••••••
31st Oct 2019, 5:52 AM
Tiger Khan [Abbas]
Tiger Khan [Abbas] - avatar
+ 1
In c language, break is a one kind of statement that help to break a loops, blocks like (for loop, while loop,do while loop,if block,if-else or nested if else blocks).It means break cut off the loop.Break also uses in 'switch' statement to exit it's 'case'.
30th Oct 2019, 6:34 AM
Souvick Mondal
Souvick Mondal - avatar
+ 1
break is a statement that breaks the loop inside which it is present. It is also used inside the conditional statements. And works as same.
30th Oct 2019, 9:26 AM
Bhoomika Pandey
Bhoomika Pandey - avatar
+ 1
Break is a statement which is used to terminate the loop at the given condition and prints all element before terminating.
2nd Nov 2019, 9:08 PM
Sanjeev Kumar
Sanjeev Kumar - avatar