C_113 Pointer to Structure in C | Structure Pointer | C Language Tutorials

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

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

  • @MrCEO-jw1vm
    @MrCEO-jw1vm 5 месяцев назад +2

    I'm truly grateful to you, ma'am. I could feel my inner bulb lighting as you explained these concepts which I couldn't get it when my prof was teaching it. You do an excellent job using so much time on the board to elaborate what it actually means and how things work, before getting into the code. My prof never does this, and I don't do so well in cramming the stuff without a proper explanation of what we're doing. But I feel so well-taught right now from following through your lecture style. It's truly remarkable how you break down things.

  • @shaikafrid7969
    @shaikafrid7969 2 года назад +24

    #include
    int main()
    {
    printf("Excellent explanation mam
    ");
    printf("Hilghly appreciated your efforts
    ");
    }

  • @govindarao331
    @govindarao331 2 года назад +74

    Mam You are C-language God

    • @saisrikanthkambhampati6244
      @saisrikanthkambhampati6244 Год назад +10

      Bro... GODDESS

    • @sumitbhoi4070
      @sumitbhoi4070 Год назад +3

      Wf 5 min of chat gpt is way better than a whole lecture

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

      These kind of videos are for the dummies who can't read

    • @ammashorts1279
      @ammashorts1279 Год назад +4

      ​@@sumitbhoi4070then why are you wasting your time here in this video
      Gf out of here

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

      @@ammashorts1279 you're broke

  • @pavanporika4135
    @pavanporika4135 2 года назад +7

    Way of explaination is exllect madam even though iam from non-IT
    Background I learnt programming language through ur teaching

  • @MohammedIbrahim-eu1mk
    @MohammedIbrahim-eu1mk 2 года назад +61

    Jenny mam is back again let’s rock it using structures 😎

  • @t.healer3984
    @t.healer3984 2 года назад +2

    mam you're a life saver..

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

    Ma’am, you are not only beautiful but also the best instructor and your voice are cool...Love from Bangladesh

  • @debojitacharjee
    @debojitacharjee Год назад +12

    *WHY TO USE POINTER TO STRUCTURES?* - if pointers are used to speed up the program, then why and when should an object be used to access the structure instead?

    • @debojitacharjee
      @debojitacharjee 5 месяцев назад

      @hoi-polloi905 NOT data syructures of DSA. I am talking about the struct keywotd used in C for structures.

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

    Well explained mam 🥳

  • @arbind22
    @arbind22 2 года назад +5

    Taught very well with practical example.
    Keep it up.

  • @ishasethi_
    @ishasethi_ 2 года назад +5

    Hello mam,Good evening ,Mam can you plz make a separate videos on c programs ? cover the main programs like abhi mere exams aane wale hai thats why i need this , if possible then please
    and yes the way you teach us is just awesome,i thankyou mam for all your efforts .

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

    #include
    void main()
    {
    struct details
    {
    char name;
    int rollno;
    float marks;
    };
    struct details *s1;
    s1->name="praneeth ";
    s1->rollno=177;
    s1->marks=100;
    printf("name is :%s
    rollno is:%d
    marks are:%f
    ",s1->name,s1->rollno,s1->marks);
    }

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

    Voice is very clear otherwise English palle hi nhi padti,nice lecture thank you mam 🙏

  • @azannasir8895
    @azannasir8895 2 года назад +13

    Your teaching method is really amazing
    Your leactures really helps me
    Love From Pakistan 🇵🇰❤️

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

    Out standing Explanation .....🥰💥🤭👍

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

    thanks mam for making me understand got it mam

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

    well explained mamm😊😊

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

    Mam main Ye sb nhi padhta hun but main teaching krta hun 10th ko .Lekin aapka andaz mujhe bahut achaa lga ..so I like your video and also subscribe..... really mam aap bahut cute ho.. mashallah.... And aapka samjhana la tariqa amazing hai mam... thanks mam

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

    thanks mam very well understood

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

    Thodi si dikkat lagi thi aapne kha tha ki structure pointer will store the address of s but it stores the address of you can say first member of our structure
    Rest your efforts are really nice

  • @abdqudus
    @abdqudus 13 дней назад

    You're the best ❤

  • @cemilerdem5694
    @cemilerdem5694 10 месяцев назад

    Thanks Jenny so good.

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

    Taught very well

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

    Struct Student{
    int rollno;
    char name[20];
    float marks;
    };
    1. int a; -> this is a simple variable not a pointer
    2. Struct Student s; -> According to you, this is not a simple variable instead of pointer(internal pointer). Can you prove this point? Is there any reference/book where we can see this statement?
    dot(.) and arrow(->) two operator is available which is used to access the Struct types variable.
    dot(.) operator is used with simple variable while arrow(->) operator is used with pointer variable.
    ex:
    Struct Student s1;
    Struct Student *s2 = &s1;
    Using dot(.)
    s1.rollno = 10;
    Using arrow(->)
    s2->roleno = 10;
    If s1 would be pointer(as per you internal pointer), then we can use arrow(->) with s1 as below
    s1->rollno = 10; ---- Is this correct?(Since as per rule of pointer, arrow(->) is used with pointer types variable)
    Note: A variable declare with prefix with * is only called the pointer variable otherwise it would call as a simple variable instead pointer variable

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

      If s1 would be pointer(as per you internal pointer), then we can use arrow(->) with s1 as below
      s1->rollno = 10; ---- Is this correct?(Since as per rule of pointer, arrow(->) is used with pointer types variable)
      YES, I also thought the same.
      According to what Ma'am told , &s.a should be same as s and different from ptr and &s. But the output for printf("%d %d %d %d",&s, ptr, s, &s.rollno); is 163610648 163610648 0 163610648.
      Can you please tell why it's 0 for s?

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

      same doubt

  • @prasantapaul1454
    @prasantapaul1454 2 года назад +5

    Which of the following is not an application software......
    a) MS DOS. b) MS Power poin c)DMB d) Ms Word
    Mam please answer it

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

      Ms dos

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

      DMB

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

      Bro

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

      @@dsb_gamerpro2828 Can you tell me how ms dos is an application software?

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

      #include
      struct student
      {
      int a;
      float b;
      }s;
      int main() {
      // Write C code here
      struct student * ptr= &s;
      printf("%d %d %d %d",&s,ptr,s,&s.a);

      return 0;
      }
      Output:1902366744 1902366744 0 1902366744
      Why value of s is 0 and why &s.a is same as &s?

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

    Nice explain

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

    im am an architecture students but ever since I saw u now I'm totally into btech

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

    thanks a lot, your videos helps me a lot.

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

    Very nice 👍👍

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

    Thanks for the awesome vdo 😍👌

  • @lucianbetke
    @lucianbetke 2 года назад +6

    Nicely explained, but what is the benefit of using pointers to structures.

    • @devileye2232
      @devileye2232 7 месяцев назад +1

      normaly you will hardly find any uses or you may find but its main use is in linked list data structure

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

    Hello ma'am ,I from Mars .I just love the way U R teaching

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

    Mam array structure program u have not explained practically in previous video

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

    If structure variable is a internal pointer then why we have put address operator before it at struct student *ptr=&S?? Like we don't put it in array name while using pointer with ut

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

    Well explained mam

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

    What a structure madam 🔥

  • @JunaidKhan-iv7qh
    @JunaidKhan-iv7qh Год назад

    Very well explained. + You look gorgeous too

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

    As you are saying in the example if the 's' has base address of the first element(i.e: roll no). if we print ,printf("%d",*(*ptr)), shouldnt it print the value stored in roll number? As ptr stores the address of 's' which in turn stores the address of the first element of 's' (i.e: rollno )

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

    plz continue the lectures

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

    thanks a lot mam

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

    Your voice is awesome 👍

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

    Hi mam this is Ganesh
    Nice to see you on tube

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

    Mam by how many videos the c language will be completed please tell mam

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

    You have shown for one struct variable with one pointer suppose I have array of struct variable in that case is it possible to create array of pointers?

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

    Ma'am i think it's not *ptr=&s;
    It is ptr=&s;
    Correct me if I'm wrng 🙂

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

      struct student *ptr=&S..this is correct...here this * is denoting ptr is a pointer.
      We can write this like,
      struct student *ptr;
      ptr=&S

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

    Thank you !!!

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

    Jenny ma'am is the queen of c language❤

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

    thank u really helpful :)

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

    If u giv lecture on pc..with max zoom so that clearly visible, it ll b good

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

    mam to access string we must "strcpy " but you didn't used that

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

    Mam please upload software engineering lecture for BCA faculty

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

    Hi, Time stamp = 10:20. When I use *s.rollno it is throwing error="error: invalid type argument of unary ‘*’ (have ‘int’)"

  • @achyuthagna5078
    @achyuthagna5078 Год назад +2

    Mam is beautiful
    C is wonderful
    Job is painfull
    😢

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

    Why here we using single abstric (*) to access ex - rollno...it's should be like - **ptr.rollno

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

    Nice video ❤

  • @himanshusingh-sh7ih
    @himanshusingh-sh7ih 2 года назад

    Never saw so many views and comments on such simple topics with a "Male tutor". Life is really unfair :(

  • @kateleen.b.nicdao903
    @kateleen.b.nicdao903 2 года назад

    I like your explanation I understand but until now I'm still confused and I don't know how to follow all the steps next so I don't make mistakes

  • @ajmalaja9888
    @ajmalaja9888 Месяц назад

    What is application for using pointer in structure

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

    mam is this possible to struct without using any variable

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

    Mam please make a video on storage classes....

  • @kandupidradei
    @kandupidradei 9 месяцев назад

    Can we declare a pointer as global variable?

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

    If we want to printout a particular character using pointer how we can get ? like in the above example Jenny is a string ..before that we have a integer ..if I want to print (enny ) through pointer how can we get ?

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

    Is it possible to use array of pointers?

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

    Jenny
    Could you please do some videos on Angular 9 and Microservices in Java
    It would really be helpful
    Thanks in Advance

  • @VinayKumar-cl8pm
    @VinayKumar-cl8pm 2 года назад

    Mam plz start the series of java

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

    Mam can you start python ?

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

    Lamba expression please madam
    There is no tamil tutuorial for lamba expressions please upload video on it... #C++ Lambdas

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

    Madam please explain structure padding.

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

    Please start series on OOP

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

    Ma'am, we need to english substitute cc...

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

    mam can u pls make a video on nested structure?

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

    #include
    struct student
    {
    int rollno;
    char name[20];
    float mark;
    };
    struct student s;
    void main()
    {
    struct student *ptr = &s;
    printf("Enter student details
    ");
    scanf("%d %s %f", &(*ptr).rollno, (*ptr).name, &ptr->mark);
    printf("Roll number is %d
    Name is %s
    Mark is %.2f", ptr->rollno, ptr->name, ptr->mark);
    }

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

    boss of youtube

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

    Mam you make video for. 3 for loops how it works. Trace it. Explain

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

    To complete c language how many videos required mam

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

    Mam please upload lecture php subject.

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

    love u mam

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

    Please give us more vedio

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

    Ma'am please start object oriented programming with c++

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

      ruclips.net/video/_NM2P--kJp0/видео.html C++ video

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

    Why don’t you make videos on c++ classes instead of c?

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

      ruclips.net/video/_NM2P--kJp0/видео.html C++

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

    Lv u mam ❤️

  • @jony-s5m
    @jony-s5m 2 года назад

    Super mama

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

    Aapki video se me study nhi kar pata hu.
    Aap etna khubsurat ho ki me bus aapko he dekte rhta hu 😞

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

    How to print more than one structure in pointer

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

    Who loving from andra pradesh plz like here👇👇👇

  • @SenthilKumar-zd9qr
    @SenthilKumar-zd9qr Год назад

    Ur looking so beautiful ma'am by mr.shelby

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

    nice

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

    Wohoo 🔥😶

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

    Madam I hope you are teaching C99

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

    Mam can you please make videos on python...💚

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

      ruclips.net/video/AChFRpLhPlk/видео.html C language

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

    Madam love uhh🧸❤️😌

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

    Ma'am I am persuing BCA can i give the exam of gate

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

    1 thing line 15 in code I can't understand

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

    Where is union video??

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

    take care of yourself maam 😉😉

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

    mam you are beautiful !

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

    Mam java ka class starts kijiye na please

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

    LOVE💕 u mam . I’m preparing for UPSE nd if I cleared the exam can you plz accept my proposal. Hopping for an favourable response 💞.

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

    💥💥💥💯💯

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

    U look amazing