What are Storage Classes in C ?
Answer Posted / thomas
Basically, storage classes in c are there to define the
storage & scope of the various sorts of variables.
we r having following 4 storage classes in C.
01.auto
02.register
03.extern
04.static
In this auto & register has local scope releted to block &
extern & static has global scope to main program.
| Is This Answer Correct ? | 129 Yes | 21 No |
Post New Answer View All Answers
Should a function contain a return statement if it does not return a value?
What are the types of pointers in c?
What is a union?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is the use of extern in c?
Explain what is the concatenation operator?
What is string function c?
What is the method to save data in stack data structure type?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Is python a c language?
Why does not c have an exponentiation operator?
Give differences between - new and malloc() , delete and free() ?
What is multidimensional arrays
What is the correct declaration of main?
What is an array in c?