53 - STORAGE CLASSES - C PROGRAMMING
ฝัง
- เผยแพร่เมื่อ 26 ส.ค. 2024
- Storage Classes are of 4 Types
1) Automatic (Keyword - auto) (Default Storage Class)
2) Static (Keyword - static)
3) Extern (Keyword - extern)
4) Registers (Keyword - register)
Difference among all these storage classes is in LIFETIME and SCOPE.
Best coching class in free of TH-cam... U r really good sir
I had explored a lot of different videos on different channels for understanding the concept of Storage classes but the doubts were still on. But after watching this video, everything is clear now. Thanks for explaining it in this great way. Thanku so much. I am your student for now. And have great respect for u sir.
Your explanations are amazing...if you can make videos on data strut and algorithms it would be really helpful sir
hi shajith
thanks and now i am uploading the videos on information security and after completion of this i will start uploading either data structures or algorithms.As i will be busy with my college work it is some what difficult to upload multiple subjects at a time.Thanks for watching my sessions and support towards our channel.
U r simply great teacher I ever seen
really awesome class, each and every minute is understandable and no doubts because it's damn clear.sir i wish you could be my ug c programming staff......
I am interested to learn C programmings as you teaching every concept at the basic level . Thanks a lot Sir .....
Sir apki videos dekh kr bht mja aa jata h.mn krta h sari videos dekhlu ek baar m bilkul bhi bore nhi hota.
hi sonali
thanks for your interest towards our channel and supporting our channel.
Thank u so much. i have learned a lot from your video.
In auto declaration, if we did not initialize the value of the variable. we get incremented value.
int main(){
increment();
increment();
increment();
}
increment(){
int i;
i += 1;
printf("%d", i);
}
you will get output as 123
hi jansi
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
jansi rani you are wrong, in auto by default value is garbage. In the given program the variable i is not intialised hence every time the function increment () runs it will print a garbage value and not 123.
You are too good teacher sir , love your teaching 🥰🥰🥰😍😍😍😊😊🤗🤗. May God bring more teacher's like you in this bad people environment world
I am very confused about this topic but when I saw this video. It cleared all my doubts.
Thank you sir 🙏
1 st comment in TH-cam
Literally best video I found
Very clearlly explained
Crystal clear explanation, thanks a lot Sir !!!
Best teacher
really loved the way you explained..!!
Very good explanation sir......... 🎉🙏👏👏👏
He is just superb😍😍
Really sir, u r an amazing teacher.... Your videos r really helpful 👍
hi Radhika
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Sir what about register storage class
Sir u r great...
Thank you sir...this video was very much helpful
superb.......sir,very clear teaching
Thank you sir
You explanation is super🔥
Thanks sir... U r really good teacher...
fabulous teaching.
thank you so much
it was FANTASTIC
Thank you sir for such a important tutorial on c language
I like the way you demystify storage classes. Have some doubts on how to manage external variables when we include other library files (.h or .c) with variables in the header section
U R Explanation is awesome sir ..Thank you sir
sir...ur explanation is tooo good, beginners can understand ur sessions very clearly, thanq soo much sir...:):)
hi navneeth
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Amazing video sir,,from Bangladesh
uou are really best teacher!
thank you sir.... your video is so simple and eassy to understand for learning
Thank u sir ,your session was amazing , simple and easy to understand
Good . . . Sir. U must go to good position in ur life.
You are awesome sir.....
your videos are pretty good........
wonderful anks
All time best
Thank you so much sir. your videos are very nice and useful. please upload C++ programming videos soon.
hi bala mani
thanks for watching my sessions and soon i will try to upload the videos on C++
Sir u r great.. I watch ur videos n i understand well.... Thnkuu sir
hi
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Amazing Amazing Sir!!!!! Vow Explanation
hi keerthivasan thank you for your interest towards our channel and watching my sessions keep following my sessions
Superb sir your explanation is awsome sir nenu coaching kuda tisukunna sir Kani Meru cheppinattu vallu cheppaledu sir you are the best sir I like it sir your videos thank you sir
hi Nagendra
thanks for watching my sessions. keep following my sessions and very nice to see your comment.
I AM ENJOYING THE REVISION FROM U SIR
U r really super sir
Your explanation is super sir👌👌
Thank u sir yourvexplanation is very clear and understandable
Nice. You deserve thumbs up....
thank you sir.its really helpful for me in distance education
hi susmy
thats nice to hear and all the best and keep following my sessions.
Awesome explaination..keep it up
your teaching is amazing sir.But explain more complicate examples on storage classes.
Sir, When I declared the variable 'y' as extern , I got compilation error as "undefined reference to y"
Excellent sir
Nice explaintion sir
Superb xplanation..
your explanation is very nice sir
thank you so much, sir, your explanation is amazing
hi dasthagiri
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Yes 😁
Thankyou sir. Your explanation is very clear and understandable.
I think we can initialise the value of y either in main function or outside of the function in extern storage class
Sir can you teach c++ I want to learn waiting eagerly thank you
Twinkle twinkle little star, sundeep is my super star. amazing
hi Vasantha Raj sir
thank you very much sir for your support towards our channel.
Sir thank u for your classes.. these are very helpful....sir can you please share a video of signed and unsigned data in c
my taeacher made this so hard thanks you sir i was able to understand ever classes explamation
Sir, Could You Please Explain more about return, i.e the difference between the presence and absence of return in any user defined functions?
hi satish
its so simple if you want to display the output in main function then we have to return the value from user defined function.
Very good class sir
Nice video.....difference between all storage class is very well explained....I’m new subscriber so requesting for normalization video in rdbms....
hi suganya
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
thank you very much my instructer.
I want c++ program rather than java,c, phyton...etc i am the begginners.
C should be your first Language because all other programming Languages are based off of C
Really felt amazing
your explanation is very nice but you did't explained about memory allocation of each storage class..means where it stores in memory
I compiled that extern scope but y is not exit here showing error
Yours teaching is very easy to understand the concept. thank you sir. Sir can u plz send the link for dynamic memory allocation?
CLASS IS NICE SIR HOW TO DO THE LAB FOR THIS PROGRAM
in the external variable section,how the compiler accurately identifys the value of y ,which will be initialized some where else in the program??you said in previous sections that while parameter passing the variable names need not be equal.
hi rahul
yes and thats the use of extern storage class. It implies the variable has been initialized some where else in the program and it will check for the value.
Hope your doubt has been clarified.
super sir extraordinary sir
Soo much thnxx sir.. u r great
hi ravi
thanks for your interest towards our channel and support towards our channel.
Sir,Global variables which are declared above the main function without mentioning the storage class are also treated as auto storage class? Or not?
No they are global variables
Thank you sir ❤
Grt sir...
HI TEJ
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Excellent sir👌👌
Why you didn't complete the example of external?
Loved it🥰
Why auto variables are not declared in global declaration?
What's the use of storage classes sir
Really appreciate your work but plz correct me if I am wrong (at 34:47). According to my knowledge in case of extern if the compiler doesn't find the initialization of y in the whole program. it will throw an error "undefined reference to y" instead of printing its default value(which is zero)
hi ajeet
you are correct if the y is not initialized any where in the program then compiler will throw an error.
Sir u did not explain about the register storage class program
Sir you are using the word declare
Can you please differentiate between variable declaration and variable definition
Amazing 😍👌😍 sir
Thanks alot sir
you are the best :) thank you sir ,
hi naresh
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.
Pls sir tell I have doubt in register storage class
Thank you sir😍.
Good. Thankyou sir😊😊😊
hi gayathri
thanks for your interest towards our channel and watching my sessions
Good teaching sir
Hello sir...
Please give us a class on structures.
What is difference between function declaration and file declaration
Sir what is the difference between garbage value and zero un storage classes??
Hi sir!
Y u not explain about register? ? ?
Hai sir,I want full explanation about the volatile in c ...please make the video sir....
Sir you not explained about "REGISTER STORAGE CLASS" example program.
Nice👍👍
you're the best
Good videl
hi raja
thank you for your interest towards our channel.
Awesome sir😍😘
hi vijay
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Definitely sir🤗