Typical C programs contain many function definitions, each of which contains a sequence of variable declarations, which tell the C compiler about the variables you intend to use, followed by statements, which tell the C compiler about the computations to be performed.
Every C program must contain a definition for a function named
main
. When you start a C program, that program starts to
perform the computations specified in the main
function.