[Solved] the return statement of C in a function


case 10:
         verifyValue(value);
         // the rest of code part 1
         break;

verifyValue() function is called and after returning from that function

// the rest of code part 1

is executed.
After that break is executed so you get out of switch construct.

Later the control is returned to main() and

// the rest of code part 2

is executed.

solved the return statement of C in a function