What are the different types of storage classes in C?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / glibwaresoftsolutions
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 |
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 |
class foo { public: static int func(const char*& p) const; }; This is illegal, why?
What are the characteristics of arrays in c?
What are types of structure?
why we need function pointers?
What is type qualifiers?
Describe newline escape sequence with a sample program?
to find the closest pair
Why is structure important for a child?
Why use int main instead of void main?
Hai friends im a i year student. i want to develop my knowledge in the field of TSR in c. How I'm Improve ?
how to generate sparse matrix in c
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?