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
Math,
4 months ago
Science,
4 months ago
Chemistry,
4 months ago
English,
9 months ago
History,
11 months ago
Social Sciences,
11 months ago
India Languages,
11 months ago