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 is the value of c?
What are the data types present in c?
What is equivalent to ++i+++j?
How do you list a file’s date and time?
Can the curly brackets { } be used to enclose a single line of code?
What is d scanf?
What's the right way to use errno?
Can you pass an entire structure to functions?
What's a good way to check for "close enough" floating-point equality?
How to set file pointer to beginning c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Is c is a high level language?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
How can I pad a string to a known length?
write a program fibonacci series and palindrome program in c