...

/

Declarations

Declarations

Learn the C syntax required for declaring variables of different types and .

Declaring a variable in C

Declaring a variable means to specify the name of the variable (and possibly its data type) so that the programming environment can reserve space in memory for that variable. Once a variable is declared, values that are assigned to it are held in the memory location reserved for it.

Unlike in languages like ...