How to Print Hello World! on console
- You must include the necessary library file.The printf() function needs <stdio.h>.
- Every C program must have the main() function.
- The printf() function prints the text on the screen and the \n it moves the cursor to starting of next line .
- Statements and commands are written within the body of function, as indicated by a of braces {} sysmbols.
- Compile the program. If there are errors, verify and correct them.Compile the program again until there is no error.
Output