Engaged Employer
Explain the four storage classes in C?
Anonymous
auto: This is the default storage class for all the variables declared inside a function or a block. extern: Extern storage class simply tells us that the variable is defined elsewhere and not within the same block where it is used. static:This storage class is used to declare static variables which are popularly used while writing programs in C language. register: It declares register variables which have the same functionality as that of the auto variables.
Check out your Company Bowl for anonymous work chats.