Showing posts with label c switch statement. Show all posts
Showing posts with label c switch statement. Show all posts

Thursday, 17 October 2013

Switch In C++

Switch In C++: There are two branches or structures in C++ and we studied the first structure in our previous tutorial which was implemented with if and if…else statements. The second selection structure that we are going to study in this C tutorial for beginners is called the switch in c structure. This structure doesn’t require a logical evaluation. Syntax:          Switch (expression)   ...