Function prototypes
Text of videoThe program asks the user to enter a number, and then a function is used to find half of the number.
Compare the two programs below. The first puts the function definiton before main. The second one uses a function prototype before main, and the function definition after main.