Variable Declaration in C Programming
For variable declaration we follow these steps
1. First we declare the type of variable name which we want to use in our program.
2. Second we choose meaningful name for variable.
3. If the variable name are same type then we can write together separated by (,) Then write with this format at the beginning of the program with semicolons.
Syntax:-Variable declaration
Data type variable < variable name>
Examples:
int si, hra;
char stud_rec;
float bas_sal;