What are Storage Classes in C ?
Answer Posted / yogeshwar parashar
definition of storage class:-
WHEN WE DEFINE ANY VARIABLE IN COMPUTER IT'S REQUIRE
SOME PHYSICAL LOCATION, TWO TYPES OF LOCATION HAS COMPUTER
1)COMPUTER MEMORY
2)CPU REGISTER.
STORAGE CLASS HAS SOME FEATURES FOR EVERY VARIABLE LIKE
A)LOCATION OR VARIABLE
B)INITIAL VALUE OF THE VARIABLE, IF IT IS NOT DEFINE THEN
WE FIND BY DEFAULT VALUE OR GARBEGE VALUE.
C)SCOPE (VISIBILITY) OF THE VARIABLE.
D)LIFE OF THE VARIABLE
THERE ARE FOUR TYPES OF STORAGE CLASSES IN C PROGRAMMING.
A) AUTOMATIC STORAGE CLASS
B) REGISTER STORAGE CLASS
C) STATIC STORAGE CLASS
D) EXTERNAL STORAGE CLASS
THANK YOU...
YOGESHWAR PARASHAR
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain how are portions of a program disabled in demo versions?
When can a far pointer be used?
How can I run c program?
plz let me know how to become a telecom protocol tester. thank you.
What do you mean by recursion in c?
What is character set?
Explain built-in function?
What is the difference between strcpy() and memcpy() function in c programming?
Why we use int main and void main?
Can a void pointer point to a function?
explain how do you use macro?
#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); }
how to make a scientific calculater ?
write a program to print largest number of each row of a 2D array
can we change the default calling convention in c if yes than how.........?