Break statement not within loop or switch in C

The way it looks I think you’re not in a loop but just checking args in main. You probably want something like return 1 or exit(1) instead of the break.

Leave a Comment