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
How can a program be made to print the name of a source file where an error occurs?
What is the advantage of an array over individual variables?
In C programming, what command or code can be used to determine if a number of odd or even?
What is the difference between #include
Write a program for Overriding.
Is a house a shell structure?
When do we get logical errors?
What is the Purpose of 'extern' keyword in a function declaration?
Tell me the use of bit field in c language?
What are the modifiers available in c programming language?
write a c program to find the sum of five entered numbers using an array named number
Do variables need to be initialized?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is the size of a union variable?
Is fortran still used in 2018?