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
Give basis knowledge of web designing ...
What are the different categories of functions in c?
Can you think of a logic behind the game minesweeper.
Why enum is used in c?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
why wipro wase
What is union and structure in c?
What is wrong with this code?
How can I send mail from within a c program?
Explain about block scope in c?
Why do we use static in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
How can you call a function, given its name as a string?
What is static memory allocation? Explain