What are the storage classes in c
Answers
Answered by
1
Answer:
Auto,extern,registered and static are four storage classes in c.
Auto is used in local variable defined within a block or function.
Register is used to store variable in CPU registers rather memory location for quick access.
Static is used for both global and local variables.
Sorry I don't know what is extern dear. Please forgive me.
Hope it helps you ✌️✌️.
Similar questions
Accountancy,
5 months ago
Math,
5 months ago
English,
5 months ago
English,
11 months ago
History,
1 year ago
Social Sciences,
1 year ago
India Languages,
1 year ago