Assuming this example code (source):
#include void playgame() { printf( \"Play game called\" ); } void loadgame() { printf( \"Load g
It depends on How default case is written.
In the following case break is neccessary.
switch ( input ) { default: printf( "Bad input, quitting!\n" ); break; case 1: /* Note the colon, not a semicolon */ playgame(); break; case 2: loadgame(); break;