C Programming Variable

C Programming Variable

C Programming Variable

C Programming Variable

Table of Contents

In this chapter you will learn about C programming variable and variable naming conventions.

C Variable

Variable in programming are containers or storage areas.

Each variable is given a unique name (idenfifier) to indicate the storage area. A variable is a symbolic name to point to a memory location. For example:

				
					int age = 30;
				
			

Here age is an integer type variable and is assigned the value 32.

A variable is named variable because its values can change.

In C Programming, variables must be declared before use.

c programming continue statement

Conventions for naming variables in C Programming

C is strongly a typed language. That is, the type of the variable does not change during program execution.

To learn more about data types visit our variable data types section.

1 thought on “C Programming Variable”

  1. Pingback: C Programming Constants -

Leave a Comment

Your email address will not be published. Required fields are marked *