Enumerations in C

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • C Programming: Enumerations (enum) in C Programming.
    Topics discussed:
    1) The definition of Enumeration in C language.
    2) The need for Enumeration.
    3) Some important facts about Enumeration in C language.
    C Programming Lectures: goo.gl/7Eh2SS
    Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
    Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
    Contribute: www.nesoacademy...
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacademy...
    Website ► www.nesoacademy...
    Forum ► forum.nesoacade...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #CProgrammingByNeso #CProgramming #EnumerationsInC

Комментарии • 94

  • @adityagedam554
    @adityagedam554 4 года назад +75

    never seen such a perfect explanation

  • @PROTECHRAHUL
    @PROTECHRAHUL 3 года назад +25

    Believe or not Neso academy is a life saver 😎

  • @aveechaudhary9
    @aveechaudhary9 4 года назад +43

    There are plenty of videos on C but your way of presenting the topics is very simple and covers almost everything.
    Good Job :)

  • @pnuema1.618
    @pnuema1.618 2 года назад +6

    Every time I learn something new and then see that there is a compiler warning for improper use of such item I am always blown away at how much work it must have been to write all the tests and functions for these languages!

  • @sourabhgehlot3961
    @sourabhgehlot3961 4 года назад +35

    Sir, we will give the GATE exam in the next year so, please make videos on the data structure as early as possible. It's a humble request.

  • @Gamechanger..601
    @Gamechanger..601 4 года назад +4

    Sir u have no idea .. hw gud u are at teaching... i don't know how i just came across ur videos... thank u so so much...

  • @udayanagavenkatakranthibha255
    @udayanagavenkatakranthibha255 3 года назад +6

    Your explanation is Marvellous sir.... It's a part of of luck to catch this type of channel

  • @kushal6065
    @kushal6065 3 года назад +3

    This channel is so straight forward and make me understand so easily.

  • @krishnakumarr2466
    @krishnakumarr2466 4 года назад +10

    Please make a lecture on dynamic memory allocation and data structures.

  • @NasimGuruJi
    @NasimGuruJi 3 года назад +4

    I have not seen before this type of explanation thanks, sir.

  • @mpkdon
    @mpkdon 7 месяцев назад

    neso academy one of the best.whenever i search something that's poorly explained in internet.u guys always surprises me.

  • @namangehlot9196
    @namangehlot9196 4 года назад +4

    neso acadamy also have the notes of the c file plese share these notes this channel is awesome

  • @neel5602
    @neel5602 3 года назад +2

    Best C tutorials with good knowledge and presentation.
    It solves my all small but very very important doubt.

  • @MaidenlessScrub
    @MaidenlessScrub 3 года назад +2

    Ever consider changing your name to Lifesaver academy?

  • @firepower9966
    @firepower9966 3 года назад +2

    Clear explanation with examples, Perfect.

  • @thefreakbt
    @thefreakbt 2 года назад +2

    Great explaination
    I am commenting after the explanation of first line. Just from 1 line explaination I knew the explanation will be great.
    1 line explaination was equivalent to paragraph of definition.
    Loved it❣️

  • @ryzk_muzik4949
    @ryzk_muzik4949 8 месяцев назад

    idk how to thank you enough in this life starting from 1st sem of engg till now gate preparation after grad...you're vdos have always been constant. THANK YOU SO MUCH ❤

  • @sunilkumarreddy6537
    @sunilkumarreddy6537 4 года назад +4

    clear explanation sir, thank you

  • @arichullai5626
    @arichullai5626 3 года назад +2

    what is integral constant?

  • @SalmaSalma-ml2ok
    @SalmaSalma-ml2ok 3 года назад +2

    I'm watching this video before 2 hours of my exam😂... Nice video sir😌

    • @rahulguggilam5120
      @rahulguggilam5120 3 года назад +3

      I am also watching this video before 2 hrs of my exam

  • @kolhatkarchinmay
    @kolhatkarchinmay 4 года назад +6

    Best ever !!

  • @kunalsoni7681
    @kunalsoni7681 4 года назад +2

    seriously this presentation is great and also awesome sir 😘😘😘😙

  • @unknown-up3cl
    @unknown-up3cl 5 часов назад

    Awesome explanation

  • @desojuindhu329
    @desojuindhu329 3 года назад +1

    Thankyou much sir for such a wonderful explanation.My doubts are cleared.

  • @eramali3237
    @eramali3237 4 года назад +2

    It's amazing slides and I also understand thank you so much for providing me superb video

  • @gsv8642
    @gsv8642 4 года назад +1

    Just started watching some of your videos..Really Awesome!

  • @sameerbisan1954
    @sameerbisan1954 3 года назад

    thanks a lot

  • @sk_sahu
    @sk_sahu 2 года назад

    Short and crisp but wholesome✨

  • @ajmalkhaniit
    @ajmalkhaniit 4 года назад +2

    Thank you so much sir amazing video

  • @qandos-nour
    @qandos-nour 4 года назад +1

    Thank you bro
    I saw so many videos but your was the best

  • @yeshwanthiganesh7061
    @yeshwanthiganesh7061 3 года назад +1

    Thanks 👍 it is very easy to understand

  • @yassineabbou5163
    @yassineabbou5163 Год назад

    perfect explanation

  • @shambhavisrivastava8761
    @shambhavisrivastava8761 2 года назад

    Very nice explanation

  • @sagarnegi1723
    @sagarnegi1723 3 года назад +1

    In #fact 3 what if we put %f instead of %d? will it again show that error?

  • @atypicalgachawatcheraccoun5403
    @atypicalgachawatcheraccoun5403 3 года назад +1

    I like your accent

  • @kolakalapudinarasimhareddy5260
    @kolakalapudinarasimhareddy5260 2 года назад

    Thanks very much I got clarity on structure and Union

  • @avijeetgorai3697
    @avijeetgorai3697 3 года назад

    Nice explanation

  • @shri1527
    @shri1527 4 года назад +1

    I was waiting for enum...tnx

  • @nikitasaini3757
    @nikitasaini3757 2 года назад

    Thank u very much sir😊

  • @Murad_Aalam
    @Murad_Aalam 2 года назад

    That's a perfect explaination❤️👍👍

  • @rafimd407
    @rafimd407 4 года назад +1

    Please make a video on "difference between memcpy and memmove" with example.

  • @vinayakrajput2355
    @vinayakrajput2355 2 года назад

    Thanks

  • @dreams7293
    @dreams7293 2 года назад

    THANK YOU

  • @amanchaudhary8817
    @amanchaudhary8817 2 года назад

    Very thank you sir

  • @sivapurapuchowdaiah1424
    @sivapurapuchowdaiah1424 4 года назад

    Very good information

  • @reshma3292
    @reshma3292 Год назад

    Such an amazing explanation 👏

  • @muhammadzakiahmad8069
    @muhammadzakiahmad8069 3 года назад

    Right.

  • @iamveenagarag
    @iamveenagarag 3 года назад

    these are very helpful, Thank you so much!!

  • @AnkitSharma-oq4wi
    @AnkitSharma-oq4wi 4 года назад +1

    Gave it a like at 0:01

  • @HayaBaqir
    @HayaBaqir 2 года назад

    thank you sir ur a lifesaver!!!

  • @sharan420100
    @sharan420100 2 года назад

    We can use #define in local scope also

  • @benx5781
    @benx5781 2 года назад

    thanks a lot dude :D my doubts are clear now!

  • @RSA_Shock
    @RSA_Shock Год назад +1

    Great video, However I think you where try integer not integral in your explanation

  • @deepakrevidagar4275
    @deepakrevidagar4275 3 года назад

    Extraordinary explanation 😍

  • @JohnSmith-vq8ho
    @JohnSmith-vq8ho 3 года назад +1

    I like how you repeated every sentence between 2-7 times!

  • @vishalgauswami2239
    @vishalgauswami2239 3 года назад

    Very nice and useful video

  • @thatcrockpot1530
    @thatcrockpot1530 3 года назад

    Thank you kind Sir.

  • @asmakhan541
    @asmakhan541 3 года назад

    #keep helping u r #Great

  • @gurinder2257
    @gurinder2257 3 года назад +1

    What's the difference between enum and constant are they not the same?

  • @sonetadhikary675
    @sonetadhikary675 2 года назад

    you make eassy concept complecated.

  • @durgadevi-nr9ee
    @durgadevi-nr9ee 3 года назад

    what an impeccable video

  • @arunkumarr2302
    @arunkumarr2302 4 года назад

    Awesome 👍😊.Create more programming language videos to see

  • @P0K0
    @P0K0 3 года назад

    Finally Ezz explanation

  • @yassineabbou5163
    @yassineabbou5163 Год назад

    tyy

  • @prakashkrsingh0
    @prakashkrsingh0 4 года назад

    Thank you sir

  • @sameerplaynicals8790
    @sameerplaynicals8790 2 года назад

    2:35, You said enums can be declared in the local scope, but can't we play with #undef to simulate that? What was the need to create an entire keyword

  • @rohitverma-xw6im
    @rohitverma-xw6im 4 года назад +1

    Is this a complete course?

  • @akshaymarjun3985
    @akshaymarjun3985 3 года назад

    Can we define any functions of enum type?

  • @mummadiswapna7456
    @mummadiswapna7456 4 года назад

    plz... make an vedio on linked list as will as possible bro...

  • @prathameshsarode2
    @prathameshsarode2 2 года назад

    Sir but Enum we can declared in global scope also not only local scope.
    Sir is it correct or not?

  • @user-cg7uu9uo2s
    @user-cg7uu9uo2s Год назад

    what is the size of enum is 4 how?

  • @whenthethebeansstrikeback6728
    @whenthethebeansstrikeback6728 4 года назад

    What is the point of having variables of type Enum?
    enum Numbers {
    A,
    B,
    C
    };
    int main() {
    enum Numbers variable; // What is the point of having this variable???
    return 0;
    }

    • @adityagedam554
      @adityagedam554 4 года назад

      to restrict the constraint of variable ie without enum your variable "Numbers" can be any thing

  • @tails_the_god
    @tails_the_god Год назад

    what are anonymous enums though sir?

  • @user-cr4mi8vd9n
    @user-cr4mi8vd9n Год назад

    ❤❤😊

  • @063harshsahu2
    @063harshsahu2 2 месяца назад

    where is PDF of this presentation ?

  • @devipriyankasandula1116
    @devipriyankasandula1116 3 года назад

    👍

  • @touta5713
    @touta5713 4 года назад

    Right?

  • @sureshgoondla1917
    @sureshgoondla1917 4 года назад

    can we re initialize the values of enum?

    • @yogipro183
      @yogipro183 2 года назад

      Yes u can but at the time of assignment you have to cast it to "Bool" or whatever name of your enum type.

  • @eramali3237
    @eramali3237 4 года назад

    I wanna nested structure video if it's possible so please send me link

  • @ashishsingh7056
    @ashishsingh7056 4 года назад

    what are the #integral #constant please anwer abybody

    • @cioccarellimi
      @cioccarellimi 4 года назад

      Because enums declare constants, not variables

    • @leviuzodike9061
      @leviuzodike9061 4 года назад

      "integral" means that it must be an integer(-3 or -1 or 0 or 2 or 4 etc). Basically, it cannot be a decimal. And constant means you can't change it. Once you declare the value of the enum constant, you can't reassign another value to it.

  • @excitedbox5705
    @excitedbox5705 4 года назад +2

    Please stop repeating yourself 3 times. "Enum is used to assign names. Again assigning names, What are we doing? assigning names."

    • @PROTECHRAHUL
      @PROTECHRAHUL 3 года назад +1

      Bro you are smart enough to understood at first but not everyone understands at their first go.

  • @nagadasariakshayaneal8791
    @nagadasariakshayaneal8791 2 года назад

    Good explanation sir

  • @kolakalapudinarasimhareddy5260
    @kolakalapudinarasimhareddy5260 2 года назад

    Thanks very much I got clarity on structure and Union

  • @shiyadh4471
    @shiyadh4471 4 года назад

    Great explanation

  • @chrisjordan6911
    @chrisjordan6911 3 года назад

    thank you