write a short note on storage class in c programming?
Attachments:
Answers
Answered by
1
Explanation:
Storage classes in C allocate the storage area of a variable that will be retained in the memory. They are stored in the RAM of a system. Apart from the storage space, they determine the scope of a variable. Variables in the C program are stored in a physical location in the random memory, which is mainly the device’s memory and CPU registers.
Storage classes in C also define the lifetime of the variable and term it as ‘local’ or ‘global’. Storage classes are also useful to define the scope or visibility, and the initial value of the variable. There are primarily four storage classes in C, viz. automatic, register, static, and external.
Answered by
0
Explanation:
write a short note on storage class in c programming?good morning
Similar questions
Math,
22 hours ago
Math,
22 hours ago
Physics,
1 day ago
Math,
8 months ago
Social Sciences,
8 months ago