What are Storage Classes in C ?
Answer Posted / sujitpatel
there are 4 types of classes
1 extern
2 static
3 register
4 auto
auto is default storage class which is used as for the
default value . if something s written int a ; then its
default storage is called auto . whereas the scope of the
stATIC and register is for only a file .there is only a
difference that register is used for cpu and static is used
for main memory . the scope of the extern is global it is
used for the whole program .
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does %p mean?
What are the different types of constants?
write a program to rearrange the array such way that all even elements should come first and next come odd
How can I manipulate strings of multibyte characters?
What is the purpose of main( ) in c language?
What are data types in c language?
what are the facialities provided by you after the selection of the student.
What are the rules for the identifier?
how to find binary of number?
What are data structures in c and how to use them?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Describe the header file and its usage in c programming?
Difference between Shallow copy and Deep copy?
Is it possible to have a function as a parameter in another function?
what is the syallabus of computer science students in group- 1?