I just started learning `c++`. [`MinGw`, `c++14`].

If I want to transfer the control of a program to certain part of the code such that the control doesn't flow to any other part of the code. which is more efficient ?

1. Using `switch` with `goto` statement and dividing the program into fragments by using {..}
2. Using `switch` with `function call`

> 
> pls. suggest if there's an other way more efficient than these 2 mentioned above!
> 
> 
>