What are the different types of storage classes in C?
Answer Posted / nashiinformaticssolutions
Auto: Default storage class for local variables.
Static: Retains variable value between function calls.
Extern: Refers to global variables used in other files.
Register: Suggests storing variables in the CPU register.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is calloc()?
What is c basic?
What is a program flowchart?
When can a far pointer be used?
I heard that you have to include stdio.h before calling printf. Why?
Can we change the value of static variable in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is your stream meaning?
How can I find out the size of a file, prior to reading it in?
What is operator precedence?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
How does pointer work in c?
Explain how can a program be made to print the name of a source file where an error occurs?
Explain pointer. What are function pointers in C?
What is scanf () in c?