Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

nested switch case in c

switch(a) {
   
      case 10: 
         printf("A is 10" );
         switch(b) {
            case 20:
               printf("b is 20" );
         }
   }
   
 
PREVIOUS NEXT
Tagged: #nested #switch #case
ADD COMMENT
Topic
Name
9+6 =