+1 vote
14 views
What are the valid places for the keyword break to appear in C-Programming?
in Technology by (190k points)

1 Answer

0 votes

Break can appear only with in the looping control and switch statement. The purpose of the break is to bring the control out from the said blocks.

Explain the syntax for for loop.

for(expression-1;expression-2;expression-3) {

   //set of statements

}

When control reaches for expression-1 is executed first. Then following expression-2, and if expression-2 evaluates to non-zero ‘set of statements’ and expression-3 is executed, follows expression-2.

by (190k points)

Related questions

0 votes
1 answer 16 views
0 votes
1 answer 12 views
+1 vote
1 answer 11 views
11 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 14 views
+1 vote
1 answer 15 views
+1 vote
1 answer 15 views
0 votes
1 answer 33 views
+1 vote
1 answer 19 views
+1 vote
1 answer 42 views
+1 vote
1 answer 6 views
+1 vote
1 answer 95 views
+1 vote
1 answer 10 views
10 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 10 views
+1 vote
1 answer 10 views
10 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
0 votes
1 answer 6 views
...