3.1
Overview
of C Program Structure
A C program has five sections as its
program structure, namely: the introductory comments, header files, constant
definitions, function definition, and the main program.
In this chapter, only the
introductory comments, header files, constant definitions, and the main program
will be covered. Discussion on function prototypes and the function definition
will be found in Chapter 6. But, for the sake of clarity, the arrangement of
the parts of a C program is outlined below.
<Introductory Comments>
<Header Files>
<Constant Definitions>
<Function Definition>
<Main Program>
<Variable
Declaration>
<Statements>
Walang komento:
Mag-post ng isang Komento