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.
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.
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
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.
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......
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.
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.
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
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.
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 suganya thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
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)
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.
hi praveen slowly i will upload every concept but it would take some time as i am also having my academic classes in our college. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
hi Arvind thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
hi veerender thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
the default value of static variable is '0', that is the value in memory location of a static variable is '0',but why is it like that.i am asking this because you only said thats because the variable is declared as static variable!
hi rahul all the variables declared as static will have a default value as 0 all the variables declared as auto will have a default value as Garbage value.
Hi Rahul...apart from what sir said..if you want to know why for static the default value is 0 and for auto it is garbage values,there is something called as "memory layout of code " you have to go through..the complete code written by us resides in this memory layout. when you write "static int i",the variable goes and sits in something called as .bss or non-initialization segment of the memory layout..if you simply write "int i" the variable goes and sits in the initialized data segment..its a very interesting concept..please go through it
hi roshan thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Best coching class in free of RUclips... 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
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.
I am interested to learn C programmings as you teaching every concept at the basic level . Thanks a lot Sir .....
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......
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.
You are too good teacher sir , love your teaching 🥰🥰🥰😍😍😍😊😊🤗🤗. May God bring more teacher's like you in this bad people environment world
Crystal clear explanation, thanks a lot Sir !!!
1 st comment in RUclips
Literally best video I found
Very clearlly explained
really loved the way you explained..!!
I am very confused about this topic but when I saw this video. It cleared all my doubts.
Thank you sir 🙏
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
He is just superb😍😍
Thanks sir... U r really good teacher...
Best teacher
Thank you sir
You explanation is super🔥
superb.......sir,very clear teaching
Very good explanation sir......... 🎉🙏👏👏👏
Thank you sir for such a important tutorial on c language
Sir u r great...
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.
thank you so much
it was FANTASTIC
fabulous teaching.
Thank you sir...this video was very much helpful
Amazing video sir,,from Bangladesh
uou are really best teacher!
U R Explanation is awesome sir ..Thank you sir
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
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.
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++
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
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 😁
your videos are pretty good........
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.
You are awesome sir.....
Amazing Amazing Sir!!!!! Vow Explanation
hi keerthivasan thank you for your interest towards our channel and watching my sessions keep following my sessions
Thank u sir yourvexplanation is very clear and understandable
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.
wonderful anks
Good . . . Sir. U must go to good position in ur life.
your teaching is amazing sir.But explain more complicate examples on storage classes.
Thankyou sir. Your explanation is very clear and understandable.
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.
I AM ENJOYING THE REVISION FROM U SIR
Nice. You deserve thumbs up....
All time best
U r really super sir
Your explanation is super sir👌👌
your explanation is very nice sir
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
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.
Sir can you teach c++ I want to learn waiting eagerly thank you
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
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.
Awesome explaination..keep it up
Sir thank u for your classes.. these are very helpful....sir can you please share a video of signed and unsigned data in c
Excellent sir
Nice explaintion sir
Soo much thnxx sir.. u r great
hi ravi
thanks for your interest towards our channel and support towards our channel.
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.
Superb xplanation..
Really felt amazing
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.
Thank you sir ❤
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.
I think we can initialise the value of y either in main function or outside of the function in extern storage class
Thanks alot sir
Yours teaching is very easy to understand the concept. thank you sir. Sir can u plz send the link for dynamic memory allocation?
Very good class sir
Thank you sir😍.
you're the best
your explanation is very nice but you did't explained about memory allocation of each storage class..means where it stores in memory
Sir, When I declared the variable 'y' as extern , I got compilation error as "undefined reference to y"
Good. Thankyou sir😊😊😊
hi gayathri
thanks for your interest towards our channel and watching my sessions
no doubts sir :)
Sir please upload data structures
hi praveen
slowly i will upload every concept but it would take some time as i am also having my academic classes in our college.
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
CLASS IS NICE SIR HOW TO DO THE LAB FOR THIS PROGRAM
my taeacher made this so hard thanks you sir i was able to understand ever classes explamation
Hello sir...
Please give us a class on structures.
Loved it🥰
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.
NIC Niger delta region of the first time in the best regards
Thank u
super sir extraordinary sir
Sir please make a video on dynamic memory allocation
Good teaching sir
Thank YOU Sir G
hi Arvind
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
I compiled that extern scope but y is not exit here showing error
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🤗
Excellent sir👌👌
Thank you sir
hi veerender
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Sir you are using the word declare
Can you please differentiate between variable declaration and variable definition
Hai sir,I want full explanation about the volatile in c ...please make the video sir....
Good videl
hi raja
thank you for your interest towards our channel.
Amazing 😍👌😍 sir
the default value of static variable is '0', that is the value in memory location of a static variable is '0',but why is it like that.i am asking this because you only said thats because the variable is declared as static variable!
hi rahul
all the variables declared as static will have a default value as 0
all the variables declared as auto will have a default value as Garbage value.
Hi Rahul...apart from what sir said..if you want to know why for static the default value is 0 and for auto it is garbage values,there is something called as "memory layout of code " you have to go through..the complete code written by us resides in this memory layout. when you write "static int i",the variable goes and sits in something called as .bss or non-initialization segment of the memory layout..if you simply write "int i" the variable goes and sits in the initialized data segment..its a very interesting concept..please go through it
I understood
hi roshan
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Sir u did not explain about the register storage class program