A set of instructions given to a computer to solve a particular problem is known as program and the task of developing program is known as programming, and the software in which you are writing program is known as programming language.
Syntax defines the set of rules for writing programs. Every language specification defines its own syntax.
Rules for writing a C Program:
A program in C-Language can be composed of: