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 Purpose of 'extern' keyword in a function declaration?
Write a program to identify if a given binary tree is balanced or not.
What is hash table in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Was 2000 a leap year?
What is function prototype in c language?
What is difference between structure and union in c?
What is difference between union and structure in c?
What is the difference between functions getch() and getche()?
What does %p mean?
Explain the difference between null pointer and void pointer.
What is class and object in c?
What are the advantage of c language?
What is the scope of local variable in c?