In C, there are four types of storage: automatic, register, static, and external.
The extern storage class is used to provide a reference to a global variable that is shared by all application files. The variable cannot be initialised when you use 'extern,' but it does direct the variable name to a previously established storage location.
The storage class specifies the place in memory where an object's storage is allocated, as well as the duration of the storage allocation. It also determines the scope, which defines the portion of the programme where a variable name is visible, i.e. the variable is accessible by name.
A variable will only be known globally in this file if it is static. extern means that a global variable defined in another file will be known in this file, and it can also be used to call functions defined in other files.
The term "volatile" does not refer to a storage class. Type qualifiers are volatile and const.
SN gateway creation
Saurabh Kumar Gupta
Best plateform for beginners student,those study any language
very good platform for learn programming languages and i mostly request from learn vern that are provide Data Structure and Algorithm course plz
Bahut achha paryas behtreen skill for teach c programming love u athrva bro