C_82 What is Dangling pointer in C | C Language Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

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

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

    "If you have any doubts you can ask me in comments section", But I will nevr reply :)

    • @cortexop7347
      @cortexop7347 4 หลายเดือนก่อน +1

      lol 😅 ye to h yrrr ,

  • @travellerutkarsh4964
    @travellerutkarsh4964 3 ปีที่แล้ว +27

    mam i am CDAC student next week my cdac course is going to end. and course end exam is starts from sept. i cant describe my emotions in word for your whole c lecture series I said emotions purposely because nobody can help me about clearing the concept of c programming and innmy past engineering journey i didn't have any idea about c language. mam i am watching complete series since last 2 days constantly. now i am at video lec no.25. all concepts are cleared because of your videos actually i am from core electrical background i don't know about c language even when my Couse was started at that time i am suffering from covid so i missed my c lectures when i recover from covid i try to cover my missed lecture but i didn't understand any concept from recorded videos. but your videos is really helpful for clearing concepts and binding self confidence about c language sorry but i cant express my feelings by words i just want to a big big big thanks mam😌😌😌.

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

      Bhai I'm Also Preperaing for PreCat and can throughly understand ur feeling,Seriously this Lectures are like Aww,Tremendeously Beautiful

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

      @@dragonhot6951 Bestluck brother for ur CDAC entrance exam 👍🤘🏻
      Thank you 🤞🏻

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

      @@travellerutkarsh4964 Bro thanks and if possible plz do guide me for CDAC & Pre CAT

    • @NikhilSarnaik-z5k
      @NikhilSarnaik-z5k ปีที่แล้ว

      @@dragonhot6951 hey did you cleared Ccat ??

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

      @@NikhilSarnaik-z5k Brother already did and even completed CDAC now and in Placements now

  • @tanusreepathak4567
    @tanusreepathak4567 3 ปีที่แล้ว +30

    Ma'am you are superb. I love your teaching process and hard work. ❤️❤️ It inspires me a lot.

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

      Which year ur ???

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

      @@itsme_0122 larki dekha nahi kii aa gaya muh utha ke ...beta padh jaake

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

      ​@@jiteshtiwary1482 😂

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

    That expresession on your face...and your method...makes everything easy...

  • @user-hj3dx2fm6q
    @user-hj3dx2fm6q 2 หลายเดือนก่อน +3

    RADHE RADHE JAI SHREE KRISHNA HAR HAR MAHADEV JAI SHREE RAM JAI MATA DI WAHEGURUJI JAI SIYARAM JAI JAGANNATH RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA

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

    I think static variable's scope is depend on where it's initialized if we declare globally scope throughout the program otherwise if we declare locally the scope is within the block... But the lifetime of the static variable will be throughout the program that's why you can access the static variable value by the pointer

  • @Kotivana_9
    @Kotivana_9 23 วันที่ผ่านมา +1

    A pointer is said to be dangling pointer, if it is pointing to the non existing memory location.
    free(pointer_name) = deallocates the memory allocated by the malloc() function.

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

    competitive programming ke liye master tips ya fir uske liye helpful chizo ka playlist bna do na madam ji

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

    Thank you so much for efforts... I'm watching total playlist of c from the beginning, it helped me alot for learning c programing language

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

    OMG! .. that phone number example is so perfect

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

    u r a good teacher....ur expression is superb!!

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

      Expression aa🤣🤣

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

    Mere iss topic me bht jiada doubt thaa....thanks

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

    *TYPE CASTING OF POINTERS IS NOT REQUIRED IWIITH VOID TYPE N C* - in this program the memory allocation using malloc function is done using pointer type casting (int*) but in C it's not required. This is required when compiling with C++ compilers.
    #include
    int main()
    {
    void *ptr_x;
    int *ptr_a, a = 1;
    ptr_x = &a;
    ptr_a = ptr_x;
    printf("%d", *ptr_a);
    return 0;
    }

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

    Very helpful mam👍👍 .

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

    Love you mam ❤... I love the way of your teaching

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

    Thank you for uploading dangling pointer madam

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

      th-cam.com/video/hGI-tAkqNUw/w-d-xo.html

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

    That smirk at 7:13 was deeeeep💀

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

    Ma'am please make video onconstant pointer, pointer to constant and constant pointer .

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

    ma'am, you are great, never seen such a teacher in life.
    your hardwork symbolises that you are real teacher of india ,i loved your teacher method and it appreciates me very much.
    thank you ma,am for giving us all your efforts

  • @ParamitaDey-bi1mg
    @ParamitaDey-bi1mg 3 ปีที่แล้ว +2

    15:55 Why ptr will not give the value of a ? It is a return type function so it should return the value to ptr.. pls anyone explain

    • @741ibrahim2
      @741ibrahim2 3 ปีที่แล้ว +3

      hiii !!!!!! here the a is local variable and as ifcontroll goes out of that function the memory of a is vanished ie in future if we try to access its valule we cant some garbage value is printed !!!! hope this is making sense !!!!! better to use static key word while declaring local variables so that it can be accessed through out the programme !!!!!!!!!!!!!!!!!!!

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

    Thanks a lot Mam for this lecture!!!

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

    Your teaching is beautiful... But u r gorgeous✨

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

    Skip 0:27 to 1:54

    • @anime_friend__
      @anime_friend__ 18 วันที่ผ่านมา

      @@anujeetkunturkar780 thanks bro ❣️

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

    Thanks for your efforts mam

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

      th-cam.com/video/hGI-tAkqNUw/w-d-xo.html

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

    Mam ur really superb in explaining c we hope u also discuss java

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

    Madam u r awesome ♥️

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

    which study material you used to study for net jrf computer science paper1+ paper 2 would it be worth buying the paid course that you opt at the time of your preparation?

  • @KeerthiUppari-n4g
    @KeerthiUppari-n4g 2 หลายเดือนก่อน

    Mam please explain more programs

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

    Looking gorgeous😍 maam

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

    Just Osm way of teaching u have
    Thank you a lot mam.
    There is no one word are made to express your attractive eyes.....really beautiful eyes mam.

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

      th-cam.com/video/hGI-tAkqNUw/w-d-xo.html

  • @MohammedIbrahim-eu1mk
    @MohammedIbrahim-eu1mk 3 ปีที่แล้ว +2

    Mam I just want u to explain about functions

  • @1315-FM
    @1315-FM หลายเดือนก่อน

    Mam here you are saying free(ptr) then the value or the address of the pointing variable will change .how will the value will free

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

    Thank you mam 😊💞

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

    Ronaldo to manchester united 🥳🥳

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

    Girls generally avoid coding and technical part of the IT industry... NOT speaking for all girls... But Jenny ma'm inspires ALL to persue coding and techincal thinking... Thank you ma'm 🙏🙏🙏🙂🙂🙂🙂

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

      th-cam.com/video/hGI-tAkqNUw/w-d-xo.html

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

    Mam more how much lectures will be there for c??
    Plss reply mam

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

    What is Heap?

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

    are pointer and dereference operator are same

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

    Mam plz show outputs on the screen mam

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

    Thank you mam

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

    Mam biggest fan I should be from India but I am from Pakistan and love from Pakistan 🥰👍

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

    Please avoid rubbing fingers for cleaning the board. The ink may create toxic effects in your blood. You may use cotton gloves if you cant change your habit. I have watched hundreds of your videos and I feel concerned. Regards.

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

    thanks

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

    Hi mam,do you teach in unacademy?

  • @anime_friend__
    @anime_friend__ 18 วันที่ผ่านมา +1

    In 2025 watching students like❤

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

    #include
    void main()
    {
    char [] = "%d
    ";
    p[1] = 'c';
    printf(p,65);
    }
    Mam what is the meaning of this following code??

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

    3rd type of dangling pointer can't understand

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

    I love you 😍ma'am

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

    Mam recursion pls mam and it's practise quesn and soln mam.pls

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

    C++ ki video upload kijiye na please

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

    Mam I love you

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

    🤩😍

  • @Ajay-jg2fw
    @Ajay-jg2fw 3 ปีที่แล้ว

    Hello ma'am

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

    Mam I love you you are so cute💕💕💕💕

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

    1st view

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

    Mam paythan language kra doge

  • @India123-t7b
    @India123-t7b 3 ปีที่แล้ว

    If nothing is impossible, then
    to marry you is also possible for me, but difficult.
    How can it possible kindly suggest ?
    You are goddess of beauty.
    So it is not sin to love you, as fall for you is natural things.

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

    I love u

  • @Leo-qo5hk
    @Leo-qo5hk 3 ปีที่แล้ว

    ❤️

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

    *WHY THE DANGLING POINTER SHOWS THE VALUE AND ADDRESS EVEN AFTER FREEING IT USING FREE FUNCTION?* - in the following program a pointer has been freed using the free() function but still it prints the address and value of the initialized variable.
    #include
    #include
    int main()
    {
    int *ptr_a = malloc(sizeof(int));
    printf("Address of pointer: %p
    ", ptr_a);
    free(ptr_a); // dangling pointer?
    printf("Address of pointer: %p
    ", ptr_a);
    return 0;
    }

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

      She said it takes some time... After going through other functions or so before being effected.

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

      @@kaldtechtitan No it can't take any time but the fact is that free function only clears the value nit the address from the pointer.

  • @2003srini
    @2003srini 3 ปีที่แล้ว

    🥰🥰🥰🥰👌

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

    So beautiful eyes ur voice♥️♥️♥️.......i love ur eyes ur beuty hairs nd voice ......i want marry with u

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

    You are really beautiful