Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

switch in c++

switch (variable) {
  case 1:
    // code here
    break
  default:
    // code here 
    break
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #switch
ADD COMMENT
Topic
Name
7+6 =