There are 3 types of instructions in C:
Type Declaration Instructions - To declare the type of variables used in a C program.
Arithmetic Instructions - To perform arithmetic operations between constants and variables.
Control instructions - To control the sequence of execution of various statements in a C program.
It consists of a variable name on the left hand side equal to symbol (=) and variable,constant names and values on the right hand side equal to symbol (=) are connected by arithmetic operators.
Arithmetic Statements are of Three Types:
i = i+2;
l = j * 24 + k - 5;
c = a +34.5/2.5 * 12.0;
In this some of the operands are integers and some of the operands are real.
Example: float a,b,c;
i = (j+k)/2;
a = 2.5 + (b+c) / 3.5;