A variable is an identifier or a name which is used to refer a value. A variable is a name of the memory location where data is stored.
Each variable in C has a specific type, which determines the size of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable.
In C Language, the variable can be Declare or declaration with initialization. If you declare a variable, that means you are asking the compiler to reserve a piece of memory with that variable name. If you declare with initialize a variable, that means you are asking the compiler to reserve a piece of memory with that variable name and store the data at reserved memory.
datatype variable_name;example:
int id;
float bassal;
datatype variable_name = constant_value;example:
int id = 5;
float bassal = 18000;
This type declaration is done at the beginning of the program.