Storage Classes in C Language, C Language Assignment Help

Assignment Help: >> Introduction to C language >> Storage Classes in C Language, C Language

Introduction to Storage Classes

 The area or block of the C program from where the variable can be accessed is known as the scope of variable. The area or scope of the variable depends on its storage class i.e. where and how it is declared. There are four scope variables like as Function, File, Block and Function Prototype.

The storage class of a variable tells the compiler

1.       The storage location or area of the variable.

2.       The scope of the variable i.e. in which functions the value of the variable would be available.

3.       The initial or default value of the variable if initial value is not specifically assigned.

4.       Life of the variable i.e. how long the variable would be active in the program or how long the variable would exist.

There are four storage classes in C language

1.       Automatic storage class

2.       External storage class

3.       Static storage class

4.       Register storage class

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd