What are Storage Classes in C ?

Answer Posted / thomas

Basically, storage classes in c are there to define the
storage & scope of the various sorts of variables.
we r having following 4 storage classes in C.
01.auto
02.register
03.extern
04.static
In this auto & register has local scope releted to block &
extern & static has global scope to main program.

Is This Answer Correct ?    129 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the standard predefined macros?

615


What are linked lists in c?

627


Why do we use pointer to pointer in c?

572


Explain the concept and use of type void.

597


What does node * mean?

681






What is the difference between array and pointer?

542


What is c language & why it is used?

554


What does typedef struct mean?

624


Differentiate between the expression “++a” and “a++”?

676


What do you mean by command line argument?

614


How macro execution is faster than function ?

637


what is ur strangth & weekness

1783


What is the difference between test design and test case design?

1542


What is the maximum length of an identifier?

641


What are the disadvantages of external storage class?

568