What are Storage Classes in C ?
Answer Posted / k.anil kumar
AUTO IS A DEFAULT SPECIFIER.THERE IS NO NECESSARY TO
MENTION IT.STATIC FOR LOCAL ANG GLOBAL IS DIFFERENT.STATIC
LOCAL REMAINS KNOWN ONLY TO THE BLOCK WN WHICH IT IS
DECLARED.STATIC GLOBAL IS KNOWN ONLY TO THE FILE.IT IS NOT
SUBJECTED TO ANY SIDE EFFECTS.EXTERN IS JUST A DECLARATION
BUT NOT DEFINITION.FOR INTEGERS AND CHARACTERS , THIS
TYPICALLY MEANS IN THE REGISTER OF THE CPU RATHER THAN IN
MEMORY,WHERE NORMAL VARIABLES ARE STORED.
| Is This Answer Correct ? | 27 Yes | 68 No |
Post New Answer View All Answers
What will the preprocessor do for a program?
What is struct node in c?
What is the condition that is applied with ?: Operator?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
All technical questions
What does emoji p mean?
Explain how can I make sure that my program is the only one accessing a file?
Explain how do you print only part of a string?
Does c have function or method?
What functions are used for dynamic memory allocation in c language?
Why calloc is better than malloc?
Differentiate between the expression “++a” and “a++”?
What is a const pointer in c?
Is there anything like an ifdef for typedefs?
if p is a string contained in a string?