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 is static memory allocation? Explain
The difference between printf and fprintf is ?
Are there constructors in c?
Explain what header files do I need in order to define the standard library functions I use?
What is break statement?
cavium networks written test pattern ..
What are header files in c?
Explain the term printf() and scanf() used in c language?
in iso what are the common technological language?
c program to compute AREA under integral
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Explain how do you convert strings to numbers in c?
The statement, int(*x[]) () what does in indicate?
What is #define?
How do you override a defined macro?