What are storage classes in C?
| Class | Meaning |
|---|---|
auto | Default for local variables |
static | Keeps its value between function calls |
extern | Uses a variable defined in another file or place |
register | Hint to keep the variable in a CPU register |
See the full explanation in Scope and Storage Classes.
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |