Structure of C-Language
Now let us combine all the above three sections/parts to make a complete C program. =>/* Program to print hello world*/ #include<stdio.h> /*link section*/ Int main() /*main function*/ { Printf(“Hello world”); Return 0; } Output: - Hello world Note: - only link and main function sections are compulsory. Documentation section is optional. The various sections/parts of a C program are:- 1) Document section :- Gives the brief explanation of the program, author,date written etc….. 2) Link section :- Include header files with #include statements. 3) Definition section :- variables and initializes them using # define. 4) Global declaration section :- The variables used throughout the program are declared. 5) Function Protot...