C_114 Unions in C | C Language Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • C complete playlist: • Programming in C
    Use my code to join the test: JKL10
    Combat Link: unacademy.com/...
    Connect & Contact Me:
    Vlogging Channel Link: bit.ly/354n7C7
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    See Complete Playlists:
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    #unionsinC
    #Cprogrammingtutorials
    #gatecslectures
    #jennyslectures

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

  • @omarahmedaziz4877
    @omarahmedaziz4877 2 ปีที่แล้ว +41

    Mam your teaching method is really amazing. Please complete this series ASAP. ❤️

  • @moonglaiv3
    @moonglaiv3 2 ปีที่แล้ว +8

    Can’t stress how good this course is. Really helped a lot. Thank you.

  • @hariparuchuru3858
    @hariparuchuru3858 2 ปีที่แล้ว +16

    if we dont initialize c value then the last entered value char b as 97.
    this means the combined memory allocation for union will store the last entered value 97 which int a also can access
    so the output will be
    a value is 97
    b value is a

  • @kanaksinghal9748
    @kanaksinghal9748 2 ปีที่แล้ว +13

    Start from 2:24

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

    No words to describe your role in my study ma'am
    Heartiest thanks to you ma'am 🙏

  • @18fatima15
    @18fatima15 5 หลายเดือนก่อน +2

    11:39 It should be struct demo *ptr = &s
    17:07
    #include
    union abc
    {
    int a;char b; float c;
    };
    int main()
    {
    union abc u;
    union abc *ptr=&u;
    u.a=1;
    u.b=97;
    printf("a=%d",ptr->a);
    printf("
    b=%c",ptr->b);
    return 0;
    }
    OUTPUT:
    a=97
    b=a

  • @riyagupta1841
    @riyagupta1841 2 ปีที่แล้ว +21

    Mam pls also cover enum and malloc,calloc,realloc inC before going on file handling pls mam plssss 🥺

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  2 ปีที่แล้ว +12

      Okiee

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

      @@JennyslecturesCSIT yes ma'am, please cover those topics, it is very important, plzz 🥺

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

      @@JennyslecturesCSIT Mam plz upload next video 🥺

  • @SD-tu1tn
    @SD-tu1tn 10 หลายเดือนก่อน +1

    You make it easy to grasp some concepts in C that i thought difficult beforehand. Thank you very much

  • @qazicode4467
    @qazicode4467 2 ปีที่แล้ว +10

    Mam Please make a tutorial on " NESTED STRUCTURE ".

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

    Your Method of teaching is the best..... You are the best one....

  • @govindarao331
    @govindarao331 2 ปีที่แล้ว +8

    Mam plz do videos on Java, phyton

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

    thank you from Afghanistan , i learned a lot form you videos i am a CS student

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

    Greate mam.....
    Your approach is very practical...

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

    Mam I am learning lot more things from you . I learned data structure ,operating systems from you and I want to request you will you please start series on Computer structure and architecture

  • @sanjanapanwar3844
    @sanjanapanwar3844 2 ปีที่แล้ว +16

    Ma'am after this please start Java

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

    Mam explain structure padding and structure packing

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

    Your channel is more use full to me thank you so much mam

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

    12bytes allocated in struct mam, because there is no #pragma pack(1).

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

    At 6.19 memory will be 12 bytes not 9 bytes as structure padding. If char is last var of structure then 9 bytes will be allocated

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

      Structure padding means!?

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

    Ma'am please bring back to back lectures its my request to u is that first please complete the c course and after completing it then please bring lectures on java courses.

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

      th-cam.com/video/5gHUgIAC8Wo/w-d-xo.html C language

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

    Mam , You are the best teacher i ever seen your teaching method is best

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

    Asad from Pakistan ur teach style is very fabulous mam

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

    Sister I understood u r classes .I request u to plz give PDF or notes for c language.tq sister I am going b.tech in this year .

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

    Thank you madam

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

    Mam it’s my kind request to complete this series ASAP we hav exams next month and I want to complete whole data structures within that. 🥺

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

    The answer to your assignment is
    --For u.a is some garbage value,and
    --for u.b is 97;

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

    it gives lowercase a as output because 97 is its ascii value and u declared b as charecter

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

    Ma'am meri college me padhate hai usme kuch samaj nahi aata.. aaj aapka video dekha union sikh liya pura thank you!! You are best Ma'am 🌸🙌🏻❤️

  • @nishasiddu5487
    @nishasiddu5487 5 หลายเดือนก่อน

    No one explains like you hats off 🫡

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

    Plxx provide lectures on python programming

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

    ma'am it will print a as the ASCII value of 97 is a

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

    Madam int size is 2bytes

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

    Nice explanation

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

    Practical on Laptop vs Blackboard

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

    Dear Mam,
    I am your old follower and fan but i need your help.
    Please teach me this program program.
    Write a C function to evaluate the series
    sin(x)= x - (x**3 / 3!)+(x**5 / 5!) - (x**7 / 7!) + .... to five significant digits.

  • @MadhuKarampudi
    @MadhuKarampudi ปีที่แล้ว

    a value will become the b values if we enter any integers(1 byte integers) b will be any garbage value

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

    Is this playlist enough for gate c programming..?? Can i rely on it?

  • @pranav-wi5uf
    @pranav-wi5uf 2 ปีที่แล้ว +1

    No mam size of the structure is not directly calculated. Its wrong data padding will there in structure for processors optimization and also how you are declearing.

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

    You are best teacher

  • @JaiminPrajapati-ke6gr
    @JaiminPrajapati-ke6gr 2 ปีที่แล้ว +2

    Mam please make video on sql /pl-sql full course..

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

    Thankyou Mam

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

    Hello mam, can you upload full java programming language all videos 🙏🙏🙏

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

    Mam you are great amazing 💥

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

    a= garbage value, b = 97.(last value)

    • @xylonature7787
      @xylonature7787 ปีที่แล้ว

      Bro.... That's a char data type but the initialized value is of int

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

    Mam Please make a tutorial on "Enumeration"

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

    Mam please make videos on Compiler Design as well.

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

    NICE SUPER EXCELLENT MOTIVATED

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

    Mam int is 2 byte of memory location.

    • @leeparrr
      @leeparrr ปีที่แล้ว

      in some compilers its 4bytes

  • @azannasir8895
    @azannasir8895 2 ปีที่แล้ว +8

    Your teaching method is really amazing 😍
    Love from Pakistan 🇵🇰❤️

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

    Thank u for teaching us so easily...No one can beat your teaching method,Love from Kolkata❤❤

  • @deganath106
    @deganath106 ปีที่แล้ว

    mam a small correction at 9;15 - u.a is not garbage value it is 9.2

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

    mam pls inc the quality of videos

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

    Mam Can you start python ??

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

    c program implement non preeptive priority sheduling with ganntt

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

    Mam,is there any good book for c programming which covers everything about c programming in detail and easy to understand?Also,mam is there any good book for introduction to computers which covers topics like alu,memory(ram,rom),processor, operatingsystem,software,hardware,motherboard.Please mam reply.

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

    Ek number 😍😍

  • @thegatelearner-original
    @thegatelearner-original 2 ปีที่แล้ว +2

    Mam your teaching method is really amazing👍

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

    mam I am MCA student can i prepare net exam for making a professor?

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

    Mam you r so cute. only bcoz of you i love to study c language

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

    Ma'am why don't you use dark theme Vs code it's good for eyes

  • @a.t7119
    @a.t7119 2 ปีที่แล้ว +1

    Size of the structure is 12 not 9

  • @universe449
    @universe449 11 หลายเดือนก่อน

    Beauty with brain
    Mam ur teaching is really awesome
    Every difficult topic u made it easy
    Thank you mam so much ❤️❤️☺️☺️☺️☺️☺️❤❤❤❤

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

    print a= garvag value and b = 97

    • @more-omkar
      @more-omkar 2 ปีที่แล้ว +2

      No it prints a=97 and b=a.

  • @AnkitThakur-dp8gx
    @AnkitThakur-dp8gx 2 ปีที่แล้ว +2

    Tmare padhaane ke tarikhe se pyaar hogya h mjhe or tumse bhi

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

    Totally understood
    Thanks, Jenny

  • @Bornkill-jq7ts
    @Bornkill-jq7ts 2 ปีที่แล้ว +2

    Mam we can use methametical expressions in union

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

    Thank You

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

    I love u so much ..... As a teacher

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

    Thanks medam

  • @i_am_with_u-7.
    @i_am_with_u-7. 2 ปีที่แล้ว +2

    Tell me about Java language

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

    Mam please makr playlist on c++

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

    Mam I request to in next month exams ara held so important questions explain mam I grandly request,🙏

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

    thank you mam❤

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

    1st it will print a=97 and b = garbage value or Nothing ........!!

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

    Ma’am you eyes is so beautiful ❤

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

    Mam please provide c language notes

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

    Mam mera najar nahi hat raha aapse
    Ek to aap bahut khubsurat hai
    Or aap explain bhi aachha karte hai 🇮🇳🇮🇳🇮🇳
    I love you 💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞

  • @divya-hj7xh
    @divya-hj7xh 2 ปีที่แล้ว +4

    Mam is C sharp is there in engineering syllabus. What is the difference between C and C#.

  • @AnkitThakur-dp8gx
    @AnkitThakur-dp8gx 2 ปีที่แล้ว +1

    beautiful and sweet mam teach us better

  • @Honey-j5n
    @Honey-j5n หลายเดือนก่อน

    Please explain java also ur teaching is very good

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

    Thank you mam for such helpful class🙂 all my doubt are cleared
    Love from kerala ❣️

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

    File handing per video banavo

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

    Mam, can you tell the best programming book for python and Java??

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

    plaese complete asap

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

    C++ start karo

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

    kal kaha gye tha ap .hmra modelling and simulation ka paper tha .wesy to ap sub course prty hain .kal nhi aya thai ap

  • @shalumall8014
    @shalumall8014 ปีที่แล้ว

    Mam ur teaching method is very nice👍

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

    Mam,can you teach java language also

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

    In the struct memory allocation, why did you not take the padding into account. I am a bit confused.

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

    Respect!!!

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

    Madam which language you ???

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

    Start python programming too mam

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

    Mam can you teach vb.net course

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

    Your voice is a DRUG... ❤️❤️❤️

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

    mam which online course is best for programming mam i am beginner mam i completed by 12th recently
    plz suggest me mam

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

      Depends on what language you are learning

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

    Maam how can I ask you doubts?

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

    I LOVE YOU MADAM❤❤❤❤❤. REALLY UR TEACHING AMIZING❤❤❤❤❤

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

    😍Goog

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

    Mam pls upload video...😃

  • @AnkitThakur-dp8gx
    @AnkitThakur-dp8gx 2 ปีที่แล้ว +1

    Mam where r U lived i want U teach me personally