The ones who are crazy enough to think they can change the world are the ones who do.- Steve Jobs
Here we starts with very basic C program
#include <stdio.h> //header file section int main() //main section { printf("I will display "); /*Output statement*/ return 0; /*Program ends here*/ }
C contains many inbuilt functions which are all predefined by its appropriated header files. Here we used printf() inbuilt function which is defined in stdio.h header files or otherwise said to be library. The file should be included by using #include directive e.g.) #include<stdio.h>.
Every C program must contain main() function which tells the compiler that the program starts from here. Empty paranthesis must after every main in C programming. main function cannot have any parameters.
Executable section contains single (or) set of statement for example printf is an executable statement.
We may make mistakes(spelling, program bug, typing mistake and etc.), So we have this container to collect mistakes. We highly respect your findings.
© Copyright 2019