Storage-class specifiers
Storage-class specifiers
Specify storage duration and linkage of objects and functions:
-
auto
- automatic duration and no linkage -
register
- automatic duration and no linkage; address of this variable cannot be taken -
static
- static duration and internal linkage (unless at block scope) -
extern
- static duration and external linkage (unless already declared internal)
| (since C11) |
Explanation
Storage-class specifiers appear in declarations. At most one specifier may be used登录查看完整内容