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
70%
18%
5%
4%
3%
Reviews
I
Ishant Kumar
5
i love c language
P
PATAN MASTHAN
5
sir need c notes it is very useful us to read after listening class so i request u do please provide notes......................masthimasthan786@gmail.com this is my mail
L
Lalita
5
this courses are very helpful. thank you so much.
B
Biwek Gorai
5
I like this course , thank you for your free courses, your free course many people for helpful.
S
SHAYAQ SHAFI
5
sir please provide pdf
Y
Yash Lohiya
5
I am really thanks to learnvern because they give best lectures without any cost sir please. I am really requesting please give us pdf
S
Sonu Kumar
5
teaching is really very awesome.
If assignment would be in the pdf along with lecture. then it would be more benificial.
A
ashish patil
5
Teaching is very best everything is understanding thank you so much 🙏
Share a personalized message with your friends.