Line 12 is called a function prototype. It is needed for the compiler to know that printmovie is a proper function so that it can be called before you actually define it (you call it on lines 28 and 30, but define it starting on line 34).
The alternative would be to move main below the definition of printmovie; if you did this, no prototype for printmovie would be needed.