All the variables must be declared before their use. It does two things:
(a) Tell the compiler what the variable name is.
(b) Specify what type of data that a variable will hold.
Syntax of variable declaration:
data_type variable_name;
Example of variable declaration:
int i,j,k;
char ch;
1 comments:
execellent explanation
Post a Comment