There's no if there for the else to attach to -- once you hit the semicolon on line 14 (as posted), the if has been used up and cannot have any thing else to attach to it. Once you have an...
Type: Posts; User: tabstop
There's no if there for the else to attach to -- once you hit the semicolon on line 14 (as posted), the if has been used up and cannot have any thing else to attach to it. Once you have an...
Because any syntax error causes the whole program to be invalid. C is not interpreted; it does not execute line by line until something bad happens.