Enumerations in C

Поделиться
HTML-код
  • Опубликовано: 8 окт 2019
  • 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.org/donate
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacademy.org/recommende...
    Website ► www.nesoacademy.org/
    Forum ► forum.nesoacademy.org/
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #CProgrammingByNeso #CProgramming #EnumerationsInC

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

  • @adityagedam554
    @adityagedam554 3 года назад +73

    never seen such a perfect explanation

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

    Believe or not Neso academy is a life saver 😎

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

    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!

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

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

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

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

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

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

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

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

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

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

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

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

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

    Clear explanation with examples, Perfect.

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

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

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

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

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

    Short and crisp but wholesome✨

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

    clear explanation sir, thank you

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

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

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

    Thank you kind Sir.

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

    these are very helpful, Thank you so much!!

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

    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 ❤

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

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

  • @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

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

    I was waiting for enum...tnx

  • @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❣️

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

    That's a perfect explaination❤️👍👍

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

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

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

    thank you sir ur a lifesaver!!!

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

    Thank u very much sir😊

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

    Very nice and useful video

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

    Such an amazing explanation 👏

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

    Thanks very much I got clarity on structure and Union

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

    perfect explanation

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

    Very nice explanation

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

    Thanks 👍 it is very easy to understand

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

    THANK YOU

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

    Very thank you sir

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

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

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

    Good explanation sir

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

    Best ever !!

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

    what an impeccable video

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

    Thanks

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

    Very good information

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

    Great explanation

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

    Extraordinary explanation 😍

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

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

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

    thanks a lot

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

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

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

    Ever consider changing your name to Lifesaver academy?

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

    Awesome 👍😊.Create more programming language videos to see

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

    thank you

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

    #keep helping u r #Great

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

    tyy

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

    Right.

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

    what is integral constant?

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

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

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

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

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

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

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

    you make eassy concept complecated.

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

    We can use #define in local scope also

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

    Finally Ezz explanation

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

    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

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

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

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

    Gave it a like at 0:01

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

    Can we define any functions of enum type?

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

    ❤❤😊

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

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

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

    what are anonymous enums though sir?

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

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

  • @user-cg7uu9uo2s
    @user-cg7uu9uo2s 11 месяцев назад

    what is the size of enum is 4 how?

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

    I like your accent

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

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

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

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

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

    Is this a complete course?

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

    👍

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

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

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

    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.

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

    Right?

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

    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 3 года назад

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

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

    what are the #integral #constant please anwer abybody

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

      Because enums declare constants, not variables

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

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

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

    Thanks very much I got clarity on structure and Union

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

    Nice explanation

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

    Thank you sir