#include line in the above program is a reference to a special file called stdio.h (called the header file contains predefined programs for standard input and output functions). Any statement starting with # is called preprocessor directive.
main() is the starting function which contains executable statements in between two curly braces { and }. Curly brackets are used to group statements together as a function or in the body of loop. Such group is called as compound statement or block.
Important points to remember:
A comment can be inserted almost anywhere a space can appear. Use of appropriate comments in proper places increases the readability of the program and helps in debugging and testing.
You cannot copy content of this page
WhatsApp us to know more about your Course
