Variables in C Programming
Variable is a location in memory where worth is often stored to be used by a program. Variables must be declared before they will give value. When declaring a variable, its name and data type should be specified. Variables have a name, type, and value.
The declaration allocates the storage location of the acceptable size and associates the name and data type with the correct location.
Variable Declaration in C
Format of a variable -
<Data type><Name of the variable>
Example:
0 Comments