What are Storage Classes in C ?

Answer Posted / ramiz n sayyed

if we declare any variable its type and storage class is
also be declare.storage class tells us that
1.where the variable is stored.
2.what is its initial value.
3.what is the scope of the variable.
4.and last is what is the life of the variable.
THERE ARE FOUR TYPES OF STORAGE CLASS IN C-

1.AUTOMATIC STORAGE CLASS
2.REGISTER STORAGE CLASS
3.STATIC STORAGE CLASS
4.EXTERNAL STORAGE CLASS

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a macro different from a function?

646


Difference between constant pointer and pointer to a constant.

597


How are variables declared in c?

582


Are the variables argc and argv are always local to main?

556


What are preprocessor directives?

660






Write a program for Overriding.

665


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1912


How can I remove the trailing spaces from a string?

598


What are linked lists in c?

633


What is return type in c?

626


what is the significance of static storage class specifier?

1638


Write a simple code fragment that will check if a number is positive or negative.

695


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1443


What are the salient features of c languages?

614


Who is the founder of c language?

665