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
What do you mean by c what are the main characteristics of c language?
Does free set pointer to null?
How can you avoid including a header more than once?
how to construct a simulator keeping the logical boolean gates in c
Explain what are binary trees?
What is the difference between fread buffer() and fwrite buffer()?
Explain how can a program be made to print the line number where an error occurs?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
Describe dynamic data structure in c programming language?
Can main () be called recursively?
Are pointers integers in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is a global variable in c?
Why do some versions of toupper act strangely if given an upper-case letter?
How to define structures? ·