Q:

What are storage classes in C language?

0

What are storage classes in C language?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

The storage classes decide the extent (lifetime) and scope (visibility) of a variable or function within the program. Every variable gets some location in the memory where the variable’s value is stored in the form of bits. The storage classes decide where these variable values will store like in CPU register, stack memory, BSS or DS.

There are four storage classes available in C programming.

  1. auto.
  2. static.
  3. extern.
  4. register

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Differentiate between an internal static and exter... >>
<< What is the difference between global and static g...