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%
5%
3%
Reviews
U
Ujwal Sadafale
5
VERY USEFULL EXPERIENCE
N
Nirali K Patel
5
N
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
S
sahil namdev
5
Nice teaching sence... I like this platform..
J
Jayprakash Rajput
5
Your teaching style is very very good.and simple.
B
Bidisha Manna
5
It is a very good C programming language course. Yes it is.
D
Deepak Kumar
5
best matarial in hindi medium student
W
Wali ullah
5
that are very best ara learnig skill so that are the best of best
Share a personalized message with your friends.