Lecture 23 Deep Copy and Shallow Copy in C++ Hindi

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • Like, Comments, Share and SUBSCRIBE

Komentáře • 189

  • @akshaychaudhary685
    @akshaychaudhary685 Před rokem +22

    We love your explanation after 7 years no one can explain like you sir.
    We need like these type of teachers 💓💓

  • @jaymenon3693
    @jaymenon3693 Před 4 lety +45

    I never thought anyone could teach coding in such a beautiful manner. I was never a coder and after watching your video I just understood one of the most difficult concepts.

  • @rocco9t9
    @rocco9t9 Před 4 lety +9

    Awesome sir. India actually needs teachers like you.

  • @sudeshnaC
    @sudeshnaC Před 7 lety +35

    Never thought of understanding this concept until this video came up in my search result. Thanks a lot Sir :)

    • @amansing
      @amansing Před 4 lety +1

      czcams.com/users/RAMANACADEMY please see this channel it will be very helpful for u

  • @kushagrasaxena8831
    @kushagrasaxena8831 Před 3 lety +7

    how can I like a youtube video more than one time? GOD-level explanation!!!

  • @creativethinking9435
    @creativethinking9435 Před 2 lety +4

    No sir no dought in this lecture it become too easy when you explaining 😍😍😍😍😘

  • @umeshprasad2415
    @umeshprasad2415 Před 3 lety +1

    kya baat hai sir..never seen person like you..compicated topic in simple way

  • @hassaanzahid7444
    @hassaanzahid7444 Před 5 lety +5

    You are awesome. May ALLAH bless you
    👍👍👍👍👍

  • @singerpranavmodi
    @singerpranavmodi Před 9 měsíci +1

    You are excellent in explanation... No one can match you.

  • @PujaKumari-rp5sg
    @PujaKumari-rp5sg Před 6 lety +1

    sir aapke videos bhut achhe h Maine c and c++ Sara aapke hi video se dekhe h

  • @ishratirfana5769
    @ishratirfana5769 Před 6 lety +3

    Assalamuwalekum, first I am very thankful to u Sir g,I watched these vedios before going to interview..it's a very helpful for me

  • @rushikeshkhaire6831
    @rushikeshkhaire6831 Před 4 lety +4

    Didnt understand concept of shallow copy on udemy whereas i repeated that video 2-3 times ...larer on came up here and understoood this concept in first time itself

  • @umerdar3608
    @umerdar3608 Před 4 lety +1

    thanku so much after long tym mujai is topic ki bilkl perfect smj lagi u r the best

  • @user-zm5ce6od8r
    @user-zm5ce6od8r Před rokem

    It is just amazing Sir, the way you explained the concept diagramatically with each steps, clarified all my doubts.Thank you Sir!

  • @SaurabhSingh-kz5jv
    @SaurabhSingh-kz5jv Před 8 lety +3

    Really , commendable explaination .
    Sir,you cleared my doubts.
    Thankyou

  • @subashchandrapakhrin3537
    @subashchandrapakhrin3537 Před 4 lety +1

    Great Video ... I love your teaching style

  • @deepeshchauhan1215
    @deepeshchauhan1215 Před 3 lety +2

    Best Teacher Ever!

  • @PRADEEPGUPTA-oc9go
    @PRADEEPGUPTA-oc9go Před rokem +2

    Wonderful your method ❤

  • @b_01_aditidonode43
    @b_01_aditidonode43 Před 3 měsíci +2

    crystal clear explanation...

  • @metaforce9514
    @metaforce9514 Před rokem

    Sir Beatiful and amazing vedio. My concept is completely cleared .....Love from Pakistan❤❤

  • @ShivamSingh-de2sq
    @ShivamSingh-de2sq Před rokem +3

    Sir I m not having words to tell how useful this video is and your efforts.you point each small thing and explain it is in easy way.sir will you make video on (STL in c ++) . Thankyou sir 🙏🙏🙏

  • @vakhariyajay2224
    @vakhariyajay2224 Před 2 lety +1

    Thank you very much. You are a genius.

  • @akarshmittal9601
    @akarshmittal9601 Před 2 lety

    tagde concept ko tagde tareeke se padaya..thanks sirji

  • @KuldeepSingh-yo7sh
    @KuldeepSingh-yo7sh Před rokem +1

    god level explanation bhai shaab

  • @vijaykrpp
    @vijaykrpp Před 6 lety +1

    Best lecturer... Thanks a lot sir for helping us and for your effort..

  • @abhishekk1231
    @abhishekk1231 Před 2 lety

    Kitna badhiya samjhaya yaar. Perfect!

  • @Kaifkhan-xs4lm
    @Kaifkhan-xs4lm Před 2 lety +2

    you are awesome teacher, great explanation sir . Love you sir💓 , after seeing your. videos all my doubts get cleared sir 😭😭😭😭 In one word you are a MASTERPIECE 😊

  • @ssh037
    @ssh037 Před 8 lety

    superb teaching skills,,,,,i m big fan of ur,s,,,,nd d way of ur teaching

  • @shardulrastogi4369
    @shardulrastogi4369 Před 2 lety

    Wow, I got it in the first watch.
    amazing explanation sir

  • @niteshkushwaha9493
    @niteshkushwaha9493 Před 9 měsíci

    Even after 8 years, no one has come close to explaining concepts like you.

  • @paragroy5359
    @paragroy5359 Před 2 lety

    Nice explanation your videos are really good...please keep on making such videos...you are doing a great job.

  • @ankitgupta301
    @ankitgupta301 Před 9 lety +2

    Sir, please upload video for smart pointers.On other sites of internet it is explained in a bit tough manner.I am sure your teaching make it easy to understand for everyone.

  • @hrushikeshwasamkar2423

    Best Explanation on CZcams

  • @sashaa8056
    @sashaa8056 Před 3 lety +1

    I believe in case of implicit copy assignment operator we don't have to create a separate memory block for pointer p, as new memory block will be allocated when default constructor is called.

  • @abhishek-xv5ow
    @abhishek-xv5ow Před 2 lety

    Gajab explain krte ho aap :)

  • @aryanpanchal9248
    @aryanpanchal9248 Před 3 lety

    mja hi aa gya bhai
    thankyou very much MySirGi

  • @kamaldakshkrishnan9990
    @kamaldakshkrishnan9990 Před rokem +1

    crustal clear explanation.

  • @prakhargupta2248
    @prakhargupta2248 Před 6 lety

    sir,you have very good teaching skill....

  • @rohitjaiswal4121
    @rohitjaiswal4121 Před 6 lety +1

    Very nicely explained!

  • @upmabaranwal9412
    @upmabaranwal9412 Před 6 lety

    ur explanation is very very easy and understandable

  • @RAHULKUMAR-up9vt
    @RAHULKUMAR-up9vt Před 13 dny

    You are wonderful, sir

  • @girish2msr
    @girish2msr Před 7 lety +1

    very nice explantion keep it up.i saw in some of the previous vediossuch as smart pointers where u explain only theory its really difficult to understand

  • @AmitChauhan-ju9im
    @AmitChauhan-ju9im Před 3 lety

    Sir you explain very well. Thanks

  • @ruchithauppala2256
    @ruchithauppala2256 Před 3 lety

    Very very nice explaination sirg🙏

  • @LogicLab_LRK
    @LogicLab_LRK Před rokem

    Omg perfect example of old is gold

  • @rishabdev6411
    @rishabdev6411 Před 5 lety

    Sir best lecture 👌👌👌👌👌👌 Great to understand
    Thank you sir

  • @abhayjaswal3207
    @abhayjaswal3207 Před 6 lety

    You have explained very good with every detail.

  • @pratushbajpai3292
    @pratushbajpai3292 Před 5 lety

    Thank you sir ekdum deep me samajh aa gaya hai.

  • @najmuzzamakhan835
    @najmuzzamakhan835 Před 3 lety

    Unbelievably helpful. Thanks sir

  • @souvikdas7200
    @souvikdas7200 Před 7 lety

    Explained in a lucid way....

  • @CoupleGoals412
    @CoupleGoals412 Před 2 lety

    Sir I Watched 10 videos related this. But You are amazing❤❤

  • @zuhaibulhassan.
    @zuhaibulhassan. Před 3 lety

    Great Work Sir Really.

  • @namanaggarwal5417
    @namanaggarwal5417 Před 2 lety

    a clear on the point explanation

  • @smtusharibnesalam8688
    @smtusharibnesalam8688 Před 5 lety

    Wow wow. It's great sir.

  • @ShaliniNegi24
    @ShaliniNegi24 Před 4 lety

    Very nicely explained.
    Thank you.

  • @utkarshshende1517
    @utkarshshende1517 Před 9 lety +2

    sir ur videos are awesome...I request u to upload videos on exception handeling

  • @stankafan6688
    @stankafan6688 Před 4 lety

    Sir aapne mazak mazak mein dangling pointer pdha diya. God Bless you

  • @saadrao804
    @saadrao804 Před rokem

    what a concept sir g😍

  • @saddamahmad2310
    @saddamahmad2310 Před 5 lety +1

    thank you very much sir for this video

  • @karthikbandla9225
    @karthikbandla9225 Před 6 lety +2

    at 4:15 when d2=d1, d2 will point out the same memory location which d1 is pointing.but you represented in different memory locations.

    • @starkendeavours7072
      @starkendeavours7072 Před rokem

      If it's written &d2 = d1. then it would point the same mem location. In fact that's would not even called as shallow or deep copy.
      d2 = d1, means d2 object created at diff mem location and members of d1 copied to d2, except pointers and reference variables.

  • @AnmolGupta-pl7hz
    @AnmolGupta-pl7hz Před 9 lety +10

    Sir, Could you please explain virtual destructors and constructors in your next video tutorial?

  • @TheMangz1611
    @TheMangz1611 Před 7 lety +5

    Sir,It was just so amazing! loved the concept and your teaching!
    1.i want to know what would happen if "implicit copy assignment operator " for "Deep copy"? will it work as the copy constructor?
    2.what if i did shallow copy of objects which consist of pointer.i know its wrong, but will the program crash? or will i get compiler error? or it will work but with a bug?
    Thank you so much. i wish i would have found u earlier!

    • @amansing
      @amansing Před 4 lety +1

      czcams.com/users/RAMANACADEMY please see this channel it will be very helpful for u

    • @backbencher304
      @backbencher304 Před 2 lety

      If u don't have any pointer variable then shalow capy will also work fine and no need of deep copy is that right?Can anyone help

  • @amansing
    @amansing Před 4 lety +1

    Thanks sir 👍👍👍

  • @chandanadgaonkar1972
    @chandanadgaonkar1972 Před 4 lety

    Superb Explanation....👍

  • @sushmasush8953
    @sushmasush8953 Před rokem +1

    Tqw so much sir 🙏..

  • @sabbirahamed7050
    @sabbirahamed7050 Před 2 lety

    Thank you dada, Good explanation

  • @sarthakjain1271
    @sarthakjain1271 Před 3 lety

    bahut mast padate sir aap

  • @kamaldakshkrishnan9990
    @kamaldakshkrishnan9990 Před rokem +1

    Top Notch();

  • @ashutoshjha5356
    @ashutoshjha5356 Před 3 lety

    nice explanation sir!

  • @Mohid922
    @Mohid922 Před 4 lety

    thank your so so much sir. I'm your big fan.

  • @ravindercool005
    @ravindercool005 Před 6 lety

    Very Nice explanation Sir .

  • @rainachakraborty403
    @rainachakraborty403 Před 4 lety

    Very nice explanation sir..

  • @ANKITKUMAR-lc3el
    @ANKITKUMAR-lc3el Před 3 lety +1

    two thousandth like :)

  • @abhinavtiwari6405
    @abhinavtiwari6405 Před rokem

    Simply awesome ❤️

  • @tanmaychoudhari3524
    @tanmaychoudhari3524 Před rokem

    No Words ❤️

  • @praffularora2243
    @praffularora2243 Před 3 lety

    Great Explanation!!

  • @CSAnuj-lv9gs
    @CSAnuj-lv9gs Před 6 lety

    Sir you are really appreciable

  • @veerchoudharyvlogs6481

    Crystal clear sir

  • @manthansharma7266
    @manthansharma7266 Před 9 lety +3

    sir it is on data structures , sir maine algorithm kha thaa jase divide and conquer , minimum spanning tree etc...

  • @sikandarwaqar3161
    @sikandarwaqar3161 Před 5 lety

    video was soo helpful . #respect

  • @RAHULKUMAR-up9vt
    @RAHULKUMAR-up9vt Před 13 dny

    Thanks a lot

  • @utkarshagrawal853
    @utkarshagrawal853 Před 4 lety

    nice video, sir........thank u, sir

  • @Pr3kashSingh
    @Pr3kashSingh Před 2 lety

    THANK YOU SIRJI.

  • @QuranTilwatAndTranslation

    Sir Also make the videos on Data Structure.

  • @hideme420
    @hideme420 Před rokem

    Thank You so much sir...

  • @noorullahkhan7482
    @noorullahkhan7482 Před rokem

    Thank you very much sir you are a True Gem❤❤

  • @sateeshkumar1145
    @sateeshkumar1145 Před 7 lety +2

    nice video sir but you have dynamically allocated a block for p pointer in constructor and as well as copy constructor. in case of d2=d1 (deep copy) there is already a block allocated for p pointer for object d2 because it's constructor was called at instantiation so y allocate a block for p pointer again????
    i'll look forward to your reply

    • @kapilpoonia9283
      @kapilpoonia9283 Před 4 lety +1

      in this case default constructor doesn't run but the constructor we have created will run so it will xecute only once

  • @smtusharibnesalam8688
    @smtusharibnesalam8688 Před 5 lety

    Very good sir

  • @ajaysaini-ke2im
    @ajaysaini-ke2im Před 6 lety

    Thank dear sir I pass c language.

  • @huzaifakhan-fg8jj
    @huzaifakhan-fg8jj Před rokem

    very good sir

  • @rajarshimandal8616
    @rajarshimandal8616 Před 7 lety

    It is well explained ....
    Sir please tell what is explicit copy constructor....and if possible make a video...

  • @PriyankaSharma02499
    @PriyankaSharma02499 Před 4 lety

    Thank you alot sir

  • @jagratwadhwa3850
    @jagratwadhwa3850 Před 6 lety

    Sir aap mahan ho

  • @ahmedmustafa-yd4cn
    @ahmedmustafa-yd4cn Před 7 lety

    Very good Lec.

  • @ritiksaxenaofficial
    @ritiksaxenaofficial Před 4 lety

    Well Explained.

  • @sourabhkhandelwal1568
    @sourabhkhandelwal1568 Před 6 lety +2

    It was 2015 when you uploaded the video. Why were you still writing code in Turbo C++?

  • @AnjaliSharma-lk1gn
    @AnjaliSharma-lk1gn Před 3 lety +1

    💯

  • @remindit2504
    @remindit2504 Před rokem

    superb

  • @pratyushtripathi1728
    @pratyushtripathi1728 Před rokem +1

  • @danishirfan7226
    @danishirfan7226 Před 3 lety

    Nice tech