Computer Science, asked by kavinayaa8949, 9 months ago

What are the storage classes in c

Answers

Answered by Uditangshu
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