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.

ความคิดเห็น • 219

  • @Shrishayspices
    @Shrishayspices 4 ปีที่แล้ว +31

    Best coching class in free of TH-cam... U r really good sir

  • @yoga-asolution.....6208
    @yoga-asolution.....6208 3 ปีที่แล้ว +2

    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.

  • @MrShanjey
    @MrShanjey 6 ปีที่แล้ว +28

    Your explanations are amazing...if you can make videos on data strut and algorithms it would be really helpful sir

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +19

      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.

  • @mayurbaviskar3443
    @mayurbaviskar3443 5 ปีที่แล้ว +7

    U r simply great teacher I ever seen

  • @tamilarasan8940
    @tamilarasan8940 4 ปีที่แล้ว +3

    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......

  • @sumithmohan3194
    @sumithmohan3194 3 ปีที่แล้ว +1

    I am interested to learn C programmings as you teaching every concept at the basic level . Thanks a lot Sir .....

  • @sonalilifestyle6258
    @sonalilifestyle6258 6 ปีที่แล้ว +1

    Sir apki videos dekh kr bht mja aa jata h.mn krta h sari videos dekhlu ek baar m bilkul bhi bore nhi hota.

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi sonali
      thanks for your interest towards our channel and supporting our channel.

  • @jansiranibdumtcs
    @jansiranibdumtcs 6 ปีที่แล้ว +3

    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

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      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.

    • @AshishSingh-us3gl
      @AshishSingh-us3gl 6 ปีที่แล้ว +3

      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.

  • @shashwatshukla6713
    @shashwatshukla6713 3 ปีที่แล้ว +1

    You are too good teacher sir , love your teaching 🥰🥰🥰😍😍😍😊😊🤗🤗. May God bring more teacher's like you in this bad people environment world

  • @aavyasingh6489
    @aavyasingh6489 2 ปีที่แล้ว

    I am very confused about this topic but when I saw this video. It cleared all my doubts.
    Thank you sir 🙏

  • @motivational6026
    @motivational6026 2 ปีที่แล้ว

    1 st comment in TH-cam
    Literally best video I found
    Very clearlly explained

  • @padmaraghunathan4849
    @padmaraghunathan4849 3 ปีที่แล้ว +1

    Crystal clear explanation, thanks a lot Sir !!!

  • @vsaisrikarv1487
    @vsaisrikarv1487 4 ปีที่แล้ว +1

    Best teacher

  • @siddheshthakar6164
    @siddheshthakar6164 4 ปีที่แล้ว +2

    really loved the way you explained..!!

  • @GokilaT-vs9po
    @GokilaT-vs9po 9 หลายเดือนก่อน

    Very good explanation sir......... 🎉🙏👏👏👏

  • @aravindsubhash3740
    @aravindsubhash3740 5 ปีที่แล้ว +4

    He is just superb😍😍

  • @radhikajain478
    @radhikajain478 6 ปีที่แล้ว +4

    Really sir, u r an amazing teacher.... Your videos r really helpful 👍

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +2

      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.

    • @davulurigowtham2761
      @davulurigowtham2761 2 ปีที่แล้ว +1

      Sir what about register storage class

  • @Shrishayspices
    @Shrishayspices 4 ปีที่แล้ว +1

    Sir u r great...

  • @cse016abhishekranjan5
    @cse016abhishekranjan5 2 ปีที่แล้ว

    Thank you sir...this video was very much helpful

  • @janaanvesh8677
    @janaanvesh8677 4 ปีที่แล้ว +1

    superb.......sir,very clear teaching

  • @nofap7316
    @nofap7316 3 ปีที่แล้ว +2

    Thank you sir
    You explanation is super🔥

  • @Shrishayspices
    @Shrishayspices 4 ปีที่แล้ว +1

    Thanks sir... U r really good teacher...

  • @biswajeetbehera2912
    @biswajeetbehera2912 3 ปีที่แล้ว

    fabulous teaching.

  • @maede.
    @maede. ปีที่แล้ว

    thank you so much
    it was FANTASTIC

  • @binodlamichhane388
    @binodlamichhane388 4 ปีที่แล้ว +1

    Thank you sir for such a important tutorial on c language

  • @edutech6528
    @edutech6528 5 ปีที่แล้ว +3

    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

  • @rayuduchowdary6178
    @rayuduchowdary6178 2 ปีที่แล้ว

    U R Explanation is awesome sir ..Thank you sir

  • @navneethkumar7803
    @navneethkumar7803 6 ปีที่แล้ว +1

    sir...ur explanation is tooo good, beginners can understand ur sessions very clearly, thanq soo much sir...:):)

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      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.

  • @assassin_blinker
    @assassin_blinker 4 ปีที่แล้ว

    Amazing video sir,,from Bangladesh

  • @belaynehoka7033
    @belaynehoka7033 3 ปีที่แล้ว

    uou are really best teacher!

  • @akshatjain759
    @akshatjain759 5 ปีที่แล้ว

    thank you sir.... your video is so simple and eassy to understand for learning

  • @SaranyaSaranya-cc4fs
    @SaranyaSaranya-cc4fs 3 ปีที่แล้ว

    Thank u sir ,your session was amazing , simple and easy to understand

  • @pavankumar-bn6ts
    @pavankumar-bn6ts 4 ปีที่แล้ว

    Good . . . Sir. U must go to good position in ur life.

  • @akshithrallabandi1354
    @akshithrallabandi1354 3 ปีที่แล้ว

    You are awesome sir.....

  • @likithr.n9692
    @likithr.n9692 5 ปีที่แล้ว +1

    your videos are pretty good........

  • @tituschristopher5568
    @tituschristopher5568 4 ปีที่แล้ว

    wonderful anks

  • @sushantgupta4757
    @sushantgupta4757 4 ปีที่แล้ว

    All time best

  • @manivannanb9672
    @manivannanb9672 6 ปีที่แล้ว +1

    Thank you so much sir. your videos are very nice and useful. please upload C++ programming videos soon.

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi bala mani
      thanks for watching my sessions and soon i will try to upload the videos on C++

  • @StrawberryMoon16
    @StrawberryMoon16 6 ปีที่แล้ว +1

    Sir u r great.. I watch ur videos n i understand well.... Thnkuu sir

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @keerthivasang1178
    @keerthivasang1178 6 ปีที่แล้ว +1

    Amazing Amazing Sir!!!!! Vow Explanation

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi keerthivasan thank you for your interest towards our channel and watching my sessions keep following my sessions

  • @nagendraarla4748
    @nagendraarla4748 6 ปีที่แล้ว +1

    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

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi Nagendra
      thanks for watching my sessions. keep following my sessions and very nice to see your comment.

  • @kasamadhu3509
    @kasamadhu3509 3 ปีที่แล้ว

    I AM ENJOYING THE REVISION FROM U SIR

  • @bhavani6364
    @bhavani6364 3 ปีที่แล้ว

    U r really super sir
    Your explanation is super sir👌👌

  • @amrithalal5168
    @amrithalal5168 5 ปีที่แล้ว

    Thank u sir yourvexplanation is very clear and understandable

  • @farhattechacademy2883
    @farhattechacademy2883 5 ปีที่แล้ว

    Nice. You deserve thumbs up....

  • @susmyajikumar5418
    @susmyajikumar5418 6 ปีที่แล้ว +1

    thank you sir.its really helpful for me in distance education

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi susmy
      thats nice to hear and all the best and keep following my sessions.

  • @tejaswiniramteke342
    @tejaswiniramteke342 5 ปีที่แล้ว

    Awesome explaination..keep it up

  • @mahendrareddy1709
    @mahendrareddy1709 4 ปีที่แล้ว

    your teaching is amazing sir.But explain more complicate examples on storage classes.

  • @sweetyadabala9933
    @sweetyadabala9933 3 ปีที่แล้ว +1

    Sir, When I declared the variable 'y' as extern , I got compilation error as "undefined reference to y"

  • @rohith2758
    @rohith2758 3 ปีที่แล้ว

    Excellent sir

  • @Bhargav1245-g7dc
    @Bhargav1245-g7dc 3 ปีที่แล้ว

    Nice explaintion sir

  • @kavibharathy9602
    @kavibharathy9602 5 ปีที่แล้ว

    Superb xplanation..

  • @shivasunny2115
    @shivasunny2115 5 ปีที่แล้ว

    your explanation is very nice sir

  • @dasthagiriracham5004
    @dasthagiriracham5004 6 ปีที่แล้ว +3

    thank you so much, sir, your explanation is amazing

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +1

      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.

    • @adss5095
      @adss5095 2 ปีที่แล้ว

      Yes 😁

  • @tit4tat914
    @tit4tat914 5 ปีที่แล้ว

    Thankyou sir. Your explanation is very clear and understandable.

  • @PAVA1GKWORLD
    @PAVA1GKWORLD 5 ปีที่แล้ว

    I think we can initialise the value of y either in main function or outside of the function in extern storage class

  • @sanaboinasatyanarayana7698
    @sanaboinasatyanarayana7698 5 ปีที่แล้ว +2

    Sir can you teach c++ I want to learn waiting eagerly thank you

  • @vaskaran1
    @vaskaran1 5 ปีที่แล้ว

    Twinkle twinkle little star, sundeep is my super star. amazing

    • @sundeepsaradhi
      @sundeepsaradhi  5 ปีที่แล้ว

      hi Vasantha Raj sir
      thank you very much sir for your support towards our channel.

  • @venkatakusumasainandam5939
    @venkatakusumasainandam5939 3 ปีที่แล้ว

    Sir thank u for your classes.. these are very helpful....sir can you please share a video of signed and unsigned data in c

  • @LostManBagpipe
    @LostManBagpipe 3 ปีที่แล้ว

    my taeacher made this so hard thanks you sir i was able to understand ever classes explamation

  • @satishkumar-jy4bi
    @satishkumar-jy4bi 6 ปีที่แล้ว +3

    Sir, Could You Please Explain more about return, i.e the difference between the presence and absence of return in any user defined functions?

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +3

      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.

  • @gulammustafashaikh8111
    @gulammustafashaikh8111 5 ปีที่แล้ว

    Very good class sir

  • @SS-wl8bu
    @SS-wl8bu 6 ปีที่แล้ว +1

    Nice video.....difference between all storage class is very well explained....I’m new subscriber so requesting for normalization video in rdbms....

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      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.

  • @feyisaberake397
    @feyisaberake397 5 ปีที่แล้ว +1

    thank you very much my instructer.
    I want c++ program rather than java,c, phyton...etc i am the begginners.

    • @danielhako1
      @danielhako1 3 ปีที่แล้ว

      C should be your first Language because all other programming Languages are based off of C

  • @manicharlavinayganesh7544
    @manicharlavinayganesh7544 3 ปีที่แล้ว

    Really felt amazing

  • @rajivmallipudi2679
    @rajivmallipudi2679 4 ปีที่แล้ว

    your explanation is very nice but you did't explained about memory allocation of each storage class..means where it stores in memory

  • @charan0436
    @charan0436 7 หลายเดือนก่อน

    I compiled that extern scope but y is not exit here showing error

  • @mspavan2595
    @mspavan2595 5 ปีที่แล้ว

    Yours teaching is very easy to understand the concept. thank you sir. Sir can u plz send the link for dynamic memory allocation?

  • @meghanachowdary9361
    @meghanachowdary9361 5 ปีที่แล้ว +1

    CLASS IS NICE SIR HOW TO DO THE LAB FOR THIS PROGRAM

  • @rhul0017
    @rhul0017 6 ปีที่แล้ว +1

    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.

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      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.

  • @bhaskarnaidu9967
    @bhaskarnaidu9967 5 ปีที่แล้ว

    super sir extraordinary sir

  • @ravisoni9619
    @ravisoni9619 6 ปีที่แล้ว +1

    Soo much thnxx sir.. u r great

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi ravi
      thanks for your interest towards our channel and support towards our channel.

  • @kopparthiharika1693
    @kopparthiharika1693 2 ปีที่แล้ว +1

    Sir,Global variables which are declared above the main function without mentioning the storage class are also treated as auto storage class? Or not?

  • @B_1_a_z_e
    @B_1_a_z_e 9 หลายเดือนก่อน

    Thank you sir ❤

  • @tejnagmanikumar2183
    @tejnagmanikumar2183 6 ปีที่แล้ว +1

    Grt sir...

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      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.

  • @ahammadporalla1694
    @ahammadporalla1694 5 ปีที่แล้ว

    Excellent sir👌👌

  • @manoharchandran348
    @manoharchandran348 5 ปีที่แล้ว

    Why you didn't complete the example of external?

  • @manognadevineni8901
    @manognadevineni8901 3 ปีที่แล้ว

    Loved it🥰

  • @kanduridinesh2608
    @kanduridinesh2608 5 ปีที่แล้ว

    Why auto variables are not declared in global declaration?

  • @balaraju6398
    @balaraju6398 4 ปีที่แล้ว

    What's the use of storage classes sir

  • @AjeetSingh-oo6nt
    @AjeetSingh-oo6nt 6 ปีที่แล้ว +1

    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)

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +2

      hi ajeet
      you are correct if the y is not initialized any where in the program then compiler will throw an error.

  • @klavish3703
    @klavish3703 4 ปีที่แล้ว

    Sir u did not explain about the register storage class program

  • @venussharma9296
    @venussharma9296 4 ปีที่แล้ว

    Sir you are using the word declare
    Can you please differentiate between variable declaration and variable definition

  • @sushantgupta4757
    @sushantgupta4757 4 ปีที่แล้ว

    Amazing 😍👌😍 sir

  • @tejachowdary9509
    @tejachowdary9509 4 ปีที่แล้ว

    Thanks alot sir

  • @parpudinaresh6295
    @parpudinaresh6295 6 ปีที่แล้ว +1

    you are the best :) thank you sir ,

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi naresh
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.

  • @debashispatra2368
    @debashispatra2368 3 ปีที่แล้ว

    Pls sir tell I have doubt in register storage class

  • @jaisonjestin6544
    @jaisonjestin6544 3 ปีที่แล้ว

    Thank you sir😍.

  • @gayathri4215
    @gayathri4215 6 ปีที่แล้ว +1

    Good. Thankyou sir😊😊😊

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi gayathri
      thanks for your interest towards our channel and watching my sessions

  • @vivekanandareddy4358
    @vivekanandareddy4358 5 ปีที่แล้ว

    Good teaching sir

  • @abdulsathar6277
    @abdulsathar6277 4 ปีที่แล้ว

    Hello sir...
    Please give us a class on structures.

  • @srikanth-lh2gr
    @srikanth-lh2gr 5 ปีที่แล้ว

    What is difference between function declaration and file declaration

  • @nipunjain8604
    @nipunjain8604 4 ปีที่แล้ว

    Sir what is the difference between garbage value and zero un storage classes??

  • @mrprogramer9628
    @mrprogramer9628 3 ปีที่แล้ว

    Hi sir!
    Y u not explain about register? ? ?

  • @UmeshChandra-qn1vm
    @UmeshChandra-qn1vm 5 ปีที่แล้ว

    Hai sir,I want full explanation about the volatile in c ...please make the video sir....

  • @umeshchandula2921
    @umeshchandula2921 6 ปีที่แล้ว

    Sir you not explained about "REGISTER STORAGE CLASS" example program.

  • @preethamrakshithp3522
    @preethamrakshithp3522 5 ปีที่แล้ว

    Nice👍👍

  • @firibuanyass
    @firibuanyass 6 ปีที่แล้ว

    you're the best

  • @rajarathanam21
    @rajarathanam21 6 ปีที่แล้ว +1

    Good videl

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi raja
      thank you for your interest towards our channel.

  • @vj__jb
    @vj__jb 6 ปีที่แล้ว +1

    Awesome sir😍😘

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +1

      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.

    • @vj__jb
      @vj__jb 6 ปีที่แล้ว

      Definitely sir🤗