Introduction to Storage Classes in C
In this lesson, we will give a brief introduction to storage classes and discuss what you can expect to learn in the upcoming tutorials.
In this lesson, we will give a brief introduction to storage classes and discuss what you can expect to learn in the upcoming tutorials.
A storage class tells the features of a variable. There are four main features that a storage class defines:
To fully define a variable, we need to specify its storage class. You might wonder why we didn’t specify the storage class when we previously defined variables. The reason is that depending on where the variable is defined, the compiler automatically assigns a default storage class. We will learn more about this later in detail.
There are four storage classes in C:
In the upcoming tutorials, we will explore each storage class in greater detail.
Leave a comment