Declare Variables
The syntax to declare variables in C programming is:
int age;
Here,
age
is a variable- to create this variable, we have used the
int
keyword that specifies integer data type
Hence, age
can only store integer data; it can't store data of any other type.
But don't worry, we'll learn about other types of variables later on.
;
at the end is mandatory in C programming. It indicates the end of the statement.