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
How to find a missed value, if you want to store 100 values in a 99 sized array?
What is the difference between procedural and declarative language?
Why c is a mother language?
What are disadvantages of C language.
What does the c in ctime mean?
Which header file is used for clrscr?
What is a null string in c?
Is there a way to switch on strings?
When should a type cast be used?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
Explain 'bus error'?
What are the types of unary operators?
How to declare pointer variables?
What is meant by inheritance?
How #define works?