What are Storage Classes in C ?

Answer Posted / bhagwan singh mer

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 ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1630


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

593


What are global variables and how do you declare them?

608


Can static variables be declared in a header file?

606


What is a structural principle?

632






What is a protocol in c?

551


What is the use of function overloading in C?

663


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1729


What does #pragma once mean?

674


why return type of main is not necessary in linux

1691


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4167


What is abstract data structure in c?

514


largest Of three Number using without if condition?

991


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

1763


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

646