Can a LABEL block be used without loop? Any examples?
Here is an example of using labels and break statements without a loop:
block1: { if (a < 0) { break block1; } if (b < 0) { break block1; } return a + b; }
1.4m articles
1.4m replys
5 comments
57.0k users