What is Double Free in C and C++? | Interview Questions

Sdílet
Vložit
  • čas přidán 13. 06. 2023
  • Double free is another important topic in interview room, it is related to memory management in C and C++. Learn the concept and if you love it, please do subscribe, like, share and comment.
    Complete playlist: • Technical Interview Qu...
    Interview Questions is a series of questions with detail explanation of answer is an attempt to prepare learners for Job interview.
    1) LIVE Community Classes: • C Language LIVE Commun...
    2) LIVE Community Classes: Python: • Python for Beginners |...
    Awesome new online LIVE batches for you:
    visit: saurabhshuklaclasses.com/batches
    *For premium courses: *
    premium.mysirg.com
    @Rohit Negi Interview Video: • How @Rohit_Negi cracke...
    Saurabh Shukla on Josh Talks Hindi: • FAANG Companies को Pro...
    Logic Building with C Language- CZcams Playlist: • Logic Building with C
    Python Interview Preparation- CZcams Playlist:
    • Python Interview Quest...
    Connect with me
    ------------------------------
    MySirG Instagram- / mysirg
    My Twitter- / @sshukla_manit
    MySirG Facebook- / mysirg
    How to access Free or Paid learning videos?
    -----------------------------------------------------------------------
    Visit: MySirG.com
    Visit: premium.mysirg.com
    How to join online LIVE classes?
    ---------------------------------------------------
    Visit saurabhshuklaclasses.com
    Competitive Coding
    _________________________________
    visit coder.mysirg.com
    Popular Searches
    ----------------------------
    Python by Saurabh Shukla Sir
    Python by Saurabh Sir
    Javascript
    GUI Python
    Web Python
    Full Stack development
    C Language
    C++ Language
    Data Structure
    PHP-MySQL
    DBMS
    Java
    Android
    Like, Comments, Share and SUBSCRIBE

Komentáře • 30

  • @piyushdubey5284
    @piyushdubey5284 Před rokem +5

    CZcams par apke C ke videos ka koi tod nahi aaj bhi

  • @christ_add
    @christ_add Před rokem +2

    Sir aapke padhane ka tarika bahot smooth hai..koi bhi student aapse aaram se padh skta hai.

  • @mchaudhary120
    @mchaudhary120 Před 9 měsíci +3

    Thank you sir 🙏

  • @aryanpandey695
    @aryanpandey695 Před rokem +2

    great

  • @starkendeavours7072
    @starkendeavours7072 Před rokem +2

    Now I understand the real need of destructor in our life. 🙂🙂
    Outstanding explanation... anybody can understand.. Thank you Sirg 🙏❣💕

  • @srikantpandey9442
    @srikantpandey9442 Před rokem +2

    Sir your knowledge is next level

  • @AnalyticThings
    @AnalyticThings Před rokem +1

    Thanks a lot sir to enhance my concepts in programming lanugage.

  • @RahulKumar-ed9vw
    @RahulKumar-ed9vw Před 4 měsíci

    Thanks Sir

  • @saurabhshukla5570
    @saurabhshukla5570 Před rokem +2

    Love you sir ❤️

  • @vishalsisodiya28
    @vishalsisodiya28 Před rokem

    Excellent explanation sir.. please keep making such videos ❤

  • @King30079
    @King30079 Před rokem +1

    Great sir 👍👍

  • @madhvishrivastava3646
    @madhvishrivastava3646 Před 2 měsíci

    Hi sir, please share more interview questions in this series. Thank you 😊

  • @spaceliver6079
    @spaceliver6079 Před rokem

    Excellent 👍

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn Před rokem +1

    No Words to appreciate, Just Thank You Sir,

  • @biswajitdey7646
    @biswajitdey7646 Před rokem +1

    sir shallow copy & deep copy ke barama bhi ek video bana de geya interview ka liya

  • @nitinbisht6303
    @nitinbisht6303 Před rokem +1

    We need most important question in java and c for interview prep

  • @shubhamraja1345
    @shubhamraja1345 Před rokem

    in case of cpp, what will happen if we call i1.f1() more than one times??
    from 2nd call to f1() will it allocate new memories and if so then what will happen to already allocated one?

    • @engineeringcrux4390
      @engineeringcrux4390 Před rokem

      memory leak occurs (bcz pointer p is going to point the newly allocated array so due to previously allocated array memory leak occurs over there..)

  • @I_m_soul
    @I_m_soul Před rokem +1

    Sir hello

  • @satvikkhare1844
    @satvikkhare1844 Před 4 měsíci

    double free errors are one of the most difficult to debug and many development hours are wasted so devs should write a code in such a way that double free never occurs in first place

  • @MADHURRAJPUTVLOGS
    @MADHURRAJPUTVLOGS Před rokem +1

    Sir c language ke bad html css javascript pd skte h ya abhi pahle c++ bhi pdlu plz reply

    • @AnalyticThings
      @AnalyticThings Před rokem +1

      javascript padne ke pahle c++ ya object oriented principle aana chahiye. I hope you understood.

  • @viruoffical870
    @viruoffical870 Před rokem

    Sir aap full course hai na c.c++ka mai aapke video ko dekhta hu koi coaching school nahi jate hai

  • @civilguruarman8876
    @civilguruarman8876 Před rokem

    Sir aap sirf c language ka batch star nahi karenge uske jagah c CPP DSA hai kya

  • @aryantapre
    @aryantapre Před rokem +2

    Whatever you teach it's complete
    Keep guiding and keep growing sir
    The video content quality was superb

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn Před rokem +2

    Do not Watch Saurabh Sir , if you want to fall in love with Programming and get ahead of those IIT, NIT Students and even most Professional Software engineers.
    Warning: He will make you programming addicted..