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.
Learner's Ratings
4.4
Overall Rating
69%
18%
5%
4%
4%
Reviews
S
SN gateway creation
5
good
V
Vaibhav Sain
5
best course
S
Saurabh Kumar Gupta
5
best course
A
Abhinay Pandey
5
Best plateform for beginners student,those study any language
S
Shaharbano Manihar
5
very good platform for learn programming languages and i mostly request from learn vern that are provide Data Structure and Algorithm course plz
K
kamlesh kumawat914
5
supper
J
Jitender sharma
5
mast
B
BHUPAL SINGH
5
Bahut achha paryas behtreen skill for teach c programming love u athrva bro
Share a personalized message with your friends.