What is exit really means here?

Sir, here exit means the end of the program? and exit and break statement are two different things? because if we use break then we have take a count variable too?