Which of the following is not a storage class specifier in C?a.Registerb.Automaticc.volatiled.External
Question
Which of the following is not a storage class specifier in C?
a. Register
b. Automatic
c. volatile
d. External
Solution
To determine which of the options is not a storage class specifier in C, we need to understand what each option represents.
a. Register: This is a storage class specifier in C. It is used to define local variables that are stored in CPU registers for faster access.
b. Automatic: This is also a storage class specifier in C. It is the default storage class for local variables and is used to define variables that have a local scope and are automatically allocated and deallocated.
c. Volatile: This is another storage class specifier in C. It is used to indicate that a variable may be modified by external sources outside the program's control, such as hardware or other threads.
d. External: This is not a storage class specifier in C. It is used to declare a variable that is defined in another source file and can be accessed by other source files.
Therefore, the correct answer is d. External.
Similar Questions
BasicsWhat is storage class for variable A in below code?void main() { int A; A = 10; printf("%d", A);}Optionsautoexternregisterstatic
Which of the following is the main a non-volatile storage device used in computers?0.5 MarksHard diskRAMUSB flash driveCache memory
Which of the following is non-volatile storage?a.Secondaryb.Cachec.Primaryd.Backup
orrect answerDefault storage class of a variable is ________Optionsautoexternstaticregister
Which among the following is a Local Variable.?a.registerb.autoc.staticd.extern
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.