Chapter 13
1: | Which storage classes create variables local to the function containing them? |
A1: | The automatic, register and the static, no linkage storage classes. |
2: | Which storage classes create variables that persist for the duration of the containing program? |
A2: | The static, no linkage storage class, the static, internal linkage storage class, and the static, external linkage storage class. |
3: | Which storage class creates variables that can be used across several files? Restricted to just one file? |
A3: | The static, external linkage storage class and the static, internal linkage storage class. |
4: | What kind of linkage do block scope variables have? |
A4: | No linkage. |
5: | What is the extern keyword use for? |
A5: | The keyword extern is used in declarations to ... |
Get C Primer Plus, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.