Vidyalelo
C Programming · Q31

Storage Class

Programming · C Programming · question 31

Q31

Which of the following is not a storage class in C?

A.
auto
B.
struct
Answer
C.
extern
D.
static
E.
register

Answer: Option B

Solution

Answer: Option B
Solution:

A storage class defines the scope (visibility) and life-time of variables and/or functions within a C Program. These specifiers precede the type that they modify. There are the following storage classes, which can be used in a C Program

  • auto
  • register
  • static
  • extern