Problem
Solving and Program Design in C
Overview
of C
2.1
C Language Elements
One advantage of C is that it lets
you write programs that resemble everyday
English. Even though
you do not yet know how to write your own programs, you
can probably read and understand the program.
Function main
The
two-line heading = int and main(void)
marks the beginning
of the main function where program execution begins. Every
C program has a main
function. The remaining lines of the program form the body
of the function which
is enclosed in braces {, } .
SYNTAX: int
main(void)
{
function
body
}
