int
The function returns an integer value to the operating environment.
We already know that a compiler translates C code. Now we will study the structure of that code.
A C program is organized into clearly defined sections.
The function returns an integer value to the operating environment.
Program execution normally begins from the main function.
This form indicates that no arguments are being received by the function.
They mark the beginning and end of the function body.
Most C statements end with a semicolon.
It ends main() and indicates successful completion.
Directives beginning with # are handled before normal compilation.
Header files provide declarations required by library functions.
Angle brackets are normally used for standard or system headers.
Quotation marks are commonly used for a header created in our own project.
The preprocessor performs textual replacement before normal compilation.
Small syntax and structure mistakes can prevent successful compilation.
The program sections follow a logical and readable order.
Preprocessor directives are handled before normal compilation, and program execution normally begins from main().