Can anyone explain me about storage classes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone explain me about storage classes?

C programming language

18th Aug 2020, 4:52 AM
Nunavath Premkumar
Nunavath Premkumar - avatar
2 Answers
+ 1
Storage classes means what is the class of variable...In c language we've 4 types of storage classes 1st Automatic SC, 2nd External SC , 3rd static SC, and 4th register SC The auto SC behaves like local variable in C The local variable stores in auto SC , external SC classes behaves like global variable The global variable stores in External SC, register variables are requesting to CPU to store the variable in CPU register (for fast accessing the variable) , the Static SC stores only static variable, the have not support to changeability of variables....
18th Aug 2020, 8:33 AM
Rupali Haldiya
Rupali Haldiya - avatar