Shane Jensen wrote:Why does this compile? Isn't a large part of this code unreachable at compile time? For example the first else if statement, which cannot ever be reached.
Luckily for you, the "unreachable code" topic is one of the more popular ones in this forum. So using the search function you'll find plenty of topics about "unreachable code". Here is a list which could probably be added to my certification book