Tag Archives: C-Variable

Variables in C | Set 1

Variables in C In C, a variable is a storage location that has a name and holds a value. A variable must be declared before it is used in a program. The syntax for declaring a variable in C is: where data_type is the type of the data that the variable will store, and variable_name is the name… Read More »

Variables in C | Set 2

Prerequisite – Variables in C | Set 1 In programming, a variable is a container (storage area) to hold data. A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C has a specific type. That is, every variable declared must be assigned as a certain type of… Read More »