How to write simple C Program ?
Tips for New Programmers 1 : About Simple Program
- Include following header file in order to print simply “Hello”
#include<stdio.h>
- Don’t forgot to write main function.
- Separate line for each header file .
- Each Statement is terminated by Semicolon (;) .
- Main function starts with opening parenthesis (” { “) and ends with closing parenthesis (” } “) .
- Simple Hello Word Program :
#include<stdio.h> main() { printf("Hello World"); }