Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • Like, Comments, Share and SUBSCRIBE

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

  • @jaymenon3693
    @jaymenon3693 4 года назад +44

    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.

  • @akshaychaudhary685
    @akshaychaudhary685 Год назад +21

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

  • @sudeshnaC
    @sudeshnaC 7 лет назад +35

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

    • @amansing
      @amansing 4 года назад +1

      ruclips.net/user/RAMANACADEMY please see this channel it will be very helpful for u

  • @rocco9t9
    @rocco9t9 3 года назад +9

    Awesome sir. India actually needs teachers like you.

  • @kushagrasaxena8831
    @kushagrasaxena8831 3 года назад +7

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

  • @singerpranavmodi
    @singerpranavmodi 8 месяцев назад +1

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

  • @umeshprasad2415
    @umeshprasad2415 3 года назад +1

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

  • @rushikeshkhaire6831
    @rushikeshkhaire6831 3 года назад +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

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

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

  • @PujaKumari-rp5sg
    @PujaKumari-rp5sg 6 лет назад +1

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

  • @hassaanzahid7444
    @hassaanzahid7444 5 лет назад +5

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

  • @ishratirfana5769
    @ishratirfana5769 6 лет назад +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

  • @ShivamSingh-de2sq
    @ShivamSingh-de2sq Год назад +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 🙏🙏🙏

  • @b_01_aditidonode43
    @b_01_aditidonode43 2 месяца назад +2

    crystal clear explanation...

  • @PRADEEPGUPTA-oc9go
    @PRADEEPGUPTA-oc9go Год назад +2

    Wonderful your method ❤

  • @KuldeepSingh-yo7sh
    @KuldeepSingh-yo7sh Год назад +1

    god level explanation bhai shaab

  • @user-zm5ce6od8r
    @user-zm5ce6od8r Год назад

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

  • @umerdar3608
    @umerdar3608 3 года назад +1

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

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

    Best Teacher Ever!

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

    Thank you very much. You are a genius.

  • @subashchandrapakhrin3537
    @subashchandrapakhrin3537 4 года назад +1

    Great Video ... I love your teaching style

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

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

  • @SaurabhSingh-kz5jv
    @SaurabhSingh-kz5jv 8 лет назад +3

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

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

    tagde concept ko tagde tareeke se padaya..thanks sirji

  • @Kaifkhan-xs4lm
    @Kaifkhan-xs4lm 2 года назад +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 😊

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

    Kitna badhiya samjhaya yaar. Perfect!

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

    Best Explanation on RUclips

  • @ankitgupta301
    @ankitgupta301 8 лет назад +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.

  • @vijaykrpp
    @vijaykrpp 6 лет назад +1

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

  • @ssh037
    @ssh037 8 лет назад

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

  • @sashaa8056
    @sashaa8056 3 года назад +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.

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

    crustal clear explanation.

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

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

  • @abhishek-xv5ow
    @abhishek-xv5ow 2 года назад

    Gajab explain krte ho aap :)

  • @TheMangz1611
    @TheMangz1611 7 лет назад +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 4 года назад +1

      ruclips.net/user/RAMANACADEMY please see this channel it will be very helpful for u

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

      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

  • @aryanpanchal9248
    @aryanpanchal9248 3 года назад

    mja hi aa gya bhai
    thankyou very much MySirGi

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

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

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

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

  • @ruchithauppala2256
    @ruchithauppala2256 3 года назад

    Very very nice explaination sirg🙏

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

    Omg perfect example of old is gold

  • @girish2msr
    @girish2msr 7 лет назад +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

  • @saadrao804
    @saadrao804 11 месяцев назад

    what a concept sir g😍

  • @rohitjaiswal4121
    @rohitjaiswal4121 6 лет назад +1

    Very nicely explained!

  • @prakhargupta2248
    @prakhargupta2248 6 лет назад

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

  • @AnmolGupta-pl7hz
    @AnmolGupta-pl7hz 9 лет назад +10

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

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  9 лет назад +12

      +Anmol Gupta there is nothing like virtual constructor, though we have virtual destructor. I will cover it in the video

    • @AnmolGupta-pl7hz
      @AnmolGupta-pl7hz 9 лет назад

      Thanks sir

    • @LearningGUY-oh6zq
      @LearningGUY-oh6zq 5 лет назад +1

      ruclips.net/video/DkzHG0uaq6A/видео.html

  • @smtusharibnesalam8688
    @smtusharibnesalam8688 5 лет назад

    Wow wow. It's great sir.

  • @upmabaranwal9412
    @upmabaranwal9412 6 лет назад

    ur explanation is very very easy and understandable

  • @zuhaibulhassan.
    @zuhaibulhassan. 3 года назад

    Great Work Sir Really.

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

    a clear on the point explanation

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

    Top Notch();

  • @pratushbajpai3292
    @pratushbajpai3292 5 лет назад

    Thank you sir ekdum deep me samajh aa gaya hai.

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

    Tqw so much sir 🙏..

  • @manthansharma7266
    @manthansharma7266 8 лет назад +3

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

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  8 лет назад +1

      +Manthan Sharma You can watch Data structure channel. Visit www.mysirg.com

  • @najmuzzamakhan835
    @najmuzzamakhan835 3 года назад

    Unbelievably helpful. Thanks sir

  • @AmitChauhan-ju9im
    @AmitChauhan-ju9im 3 года назад

    Sir you explain very well. Thanks

  • @karthikbandla9225
    @karthikbandla9225 6 лет назад +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 Год назад

      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.

  • @amansing
    @amansing 4 года назад +1

    Thanks sir 👍👍👍

  • @souvikdas7200
    @souvikdas7200 7 лет назад

    Explained in a lucid way....

  • @rishabdev6411
    @rishabdev6411 5 лет назад

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

  • @saddamahmad2310
    @saddamahmad2310 5 лет назад +1

    thank you very much sir for this video

  • @utkarshshende1517
    @utkarshshende1517 9 лет назад +2

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

  • @sateeshkumar1145
    @sateeshkumar1145 7 лет назад +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 4 года назад +1

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

  • @chandanadgaonkar1972
    @chandanadgaonkar1972 4 года назад

    Superb Explanation....👍

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

    Thank you dada, Good explanation

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

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

  • @ANKITKUMAR-lc3el
    @ANKITKUMAR-lc3el 3 года назад +1

    two thousandth like :)

  • @ShaliniNegi24
    @ShaliniNegi24 4 года назад

    Very nicely explained.
    Thank you.

  • @sarthakjain1271
    @sarthakjain1271 3 года назад

    bahut mast padate sir aap

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

    Simply awesome ❤️

  • @ashutoshjha5356
    @ashutoshjha5356 3 года назад

    nice explanation sir!

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

    No Words ❤️

  • @utkarshagrawal853
    @utkarshagrawal853 4 года назад

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

  • @s04jain
    @s04jain 5 лет назад +1

    Sir if we do not write p= new int ; stmt in copy construtor then also compiler creates different space for * p...but i donot know how it work..plz explain

  • @abhayjaswal3207
    @abhayjaswal3207 6 лет назад

    You have explained very good with every detail.

  • @rainachakraborty403
    @rainachakraborty403 4 года назад

    Very nice explanation sir..

  • @ravindercool005
    @ravindercool005 6 лет назад

    Very Nice explanation Sir .

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

    THANK YOU SIRJI.

  • @stankafan6688
    @stankafan6688 4 года назад

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

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

    Thank You so much sir...

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

    Crystal clear sir

  • @praffularora2243
    @praffularora2243 3 года назад

    Great Explanation!!

  • @Mohid922
    @Mohid922 4 года назад

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

  • @smtusharibnesalam8688
    @smtusharibnesalam8688 5 лет назад

    Very good sir

  • @CSAnuj-lv9gs
    @CSAnuj-lv9gs 6 лет назад

    Sir you are really appreciable

  • @huzaifakhan-fg8jj
    @huzaifakhan-fg8jj Год назад

    very good sir

  • @sikandarwaqar3161
    @sikandarwaqar3161 5 лет назад

    video was soo helpful . #respect

  • @PriyankaSharma02499
    @PriyankaSharma02499 4 года назад

    Thank you alot sir

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

    Sir Also make the videos on Data Structure.

  • @ajaysaini-ke2im
    @ajaysaini-ke2im 6 лет назад

    Thank dear sir I pass c language.

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

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

  • @rajarshimandal8616
    @rajarshimandal8616 7 лет назад

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

  • @ahmedmustafa-yd4cn
    @ahmedmustafa-yd4cn 7 лет назад

    Very good Lec.

  • @ayushkumardhiwar6736
    @ayushkumardhiwar6736 4 года назад

    Sir will you please explain while making constructor in shallow and deep copy why we use the & operator.

  • @manthansharma7266
    @manthansharma7266 8 лет назад +1

    sir ur videos are awesome . very very thanx sir . sir please upload videos of algorithms like bfs , dfs, shortest path algorithm etc more videos , thanku ...

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  8 лет назад

      +Manthan Sharma ruclips.net/channel/UCu4ztYtW-Bg1KIfcLAULtVQ for data structure

  • @sourabhkhandelwal1568
    @sourabhkhandelwal1568 6 лет назад +2

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

  • @amit1234007
    @amit1234007 7 лет назад +1

    Sir, please upload some videos on iterators and multithreading concept.

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

    superb

  • @neerajkumar-br7ww
    @neerajkumar-br7ww 7 лет назад

    my question is, if 2 object create then copy of one object to another object(default assinment opertor) in deep copy process
    what will be do?
    pls tell sir

  • @ritiksaxenaofficial
    @ritiksaxenaofficial 4 года назад

    Well Explained.

  • @mudassarmaqbool8509
    @mudassarmaqbool8509 4 года назад

    Amazing Sir