its some thing like writing some statement after the return statement. Its will also give something like code unreachable.

0 is the default value and so its not initialized but as the var is defined its showing as 0