What are Storage Classes in C ?
Answer Posted / shashi sourabh kant
There are four type of storage classes in C. These are used
to store variables. These are Extern, Static, Register and
Auto. Auto is the default class assigned to any variable.
eg. if we define int x=10; then it means auto int x=10
register and static differ in only one grounds that
register is there in the cpu and static in the main memory.
extern is global and can be accessed by any program and
anywhere.
Is This Answer Correct ? | 704 Yes | 59 No |
Post New Answer View All Answers
I need testPalindrome and removeSpace
#include
How can I call a function with an argument list built up at run time?
what are enumerations in C
What is c method?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What are header files in c programming?
What is a global variable in c?
how to find anagram without using string functions using only loops in c programming
Explain what is a const pointer?
What is the use of bitwise operator?
Explain what is page thrashing?
Why is not a pointer null after calling free?
What are the differences between new and malloc in C?
Is it possible to have a function as a parameter in another function?
How can I sort a linked list?