| Electronic Components Datasheet Search |
|
78K Datasheet(PDF) 110 Page - NEC |
|
|
|||||||||||||||||||||||||||||
78K Datasheet(HTML) 110 Page - NEC |
|
110 / 523 page ![]() CHAPTER 6 CONTROL STRUCTURES OF C LANGUAGE User’s Manual U15556EJ1V0UM 110 Labeled Statements case label EXAMPLE 2 int i ; void main (void) { /* ... */ i = 2 ; switch(i) { case 1: i = i + 4 ; case 2: i = i + 3 ; case 3: i = i + 2 ; } /* ... */ } EXPLANATION In example 2, the processing starts in the second case statement since i is 2. The third statement is also consecutively performed since the case statement does not include a break statement. Thus, if the constant expression and the control expression in the case statement match, the programs thereafter are performed sequentially. A break statement is used to exit the switch statement. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |