Asked by Braeli Payne on May 09, 2024

verifed

Verified

The four available storage classes are called auto, static, extern, and ____.

A) stack
B) intern
C) void
D) register

Storage Classes

Specifications in programming languages like C and C++ that determine the lifetime, visibility, and memory location of variables.

Auto

A keyword in the C and C++ programming languages that was originally used to declare automatic variables, now repurposed in C++11 to infer the type of the variable from its initializer.

Register

A small, fast storage location within a computer's CPU where specific types of instructions are stored and processed.

  • Identify the characteristics and purposes of different types of storage classes (auto, static, extern, register).
verifed

Verified Answer

JF
javier fernandezMay 12, 2024
Final Answer :
D
Explanation :
The correct storage classes available in C are auto, static, extern, and register. "Register" is used to define local variables that should be stored in a register instead of RAM for quicker access.