Copy Constructor in C++ | C++ Programming | In Hindi

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Copy Constructor in C++ | C++ Programming | In Hindi | Tutorial #51
    Hi All, Welcome all of you to the video series of C++ Programming. Like C, Java and Python, I will upload all the videos of C++ from Basic to Advanced.
    In this video, I have explained about Copy Constructor in C++. It is one of the most important function of C++ which is usually asked in the exam.
    Link to Previous Video: • Parameterized Construc...
    Link to next video: • Constructor Overloadin...
    Telegram Channel: t.me/codeitupl...
    Facebook Group: / 21673. .
    Instagram: t.me/codeitupyt
    Facebook Group: www.facebook.c...
    Facebook Page: / codeitup-104310264625489
    Website: codeitup.in
    Join this channel to get access to perks: / @codeitup
    Tags Used:
    copy constructor
    copy constructor in c++
    what is copy constructor in c++
    c++ copy constructor
    codeitup,
    constructor in c++
    constructor and destructor in c++
    what is constructor
    constructor
    destructor in c++
    destruction
    introduction to constructors in c++
    constructor introduction
    basics of constructors
    constructor in one video
    copy constructor
    copy constructor in c++
    what is copy constructor in c++
    c++ copy constructor
    #codeitup
    #c++
    #constructor

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

  • @Games_with_Aryan365
    @Games_with_Aryan365 Год назад +61

    sir approx i was watched maximum number of copy constructor but your explanation is another level and thank u for providing this video without any cost... so your teaching skill is mindblowing...😊😊😊@codeitup

  • @tanishkakushwah4661
    @tanishkakushwah4661 Год назад +80

    Ur explanation is better than code with harry

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

      Thanks!

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

      @@codeitup
      eagerly waiting for ur response
      class A
      {
      int x;
      public:
      void setdata()
      {
      cin >> x;
      }
      int getdata()
      {
      return x;
      }
      };
      class B : public A
      {
      public:
      void display()
      {
      cout

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

      Dont compare the bakri (harry) with goat 🐐(code it up) ❤

    • @ayashaabbas7525
      @ayashaabbas7525 5 месяцев назад +1

      💯 ryt

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

      Ovisly

  • @dragon45d
    @dragon45d Год назад +22

    Best explaination about this topic in whole youtube.😍😍

  • @lakshaygambhir_humanities4016
    @lakshaygambhir_humanities4016 9 месяцев назад +3

    Understanding through this video was very helpful👍🏻👍🏻

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

    Best explanation,best teaching,sir you are the best best teacher from whom i have genuinely learned about programming.
    Keep it up

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

      Thanks a lot dear, keep learning🙂

  • @prernakhatri05
    @prernakhatri05 5 месяцев назад +2

    Just clear explanation 👍

  • @vikasagrohia-topic6436
    @vikasagrohia-topic6436 Год назад +2

    Well explained
    Love from Haryana

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

    thank you so much sir for providing these lectures, your explanation is awesome🙂

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

      Thanks & most welcome😊

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

      @@codeitup Sir class 12 term 2 ka play list kaha hai??

  • @MiniVlogsbySonu
    @MiniVlogsbySonu 9 месяцев назад +1

    u r teaching us in a very simple way ... Ye sab se pehle headache ho rha tha but aapki videos se sab ache se smjh aa rha hai thank youuu soo much sir ❤.... Plz aap others jaise popular hone ke baad teaching style change mat karna🥲

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

      Thanks a lot for your precious comment, keep learning 😊

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

    Wonderful tutorial. Short and crisp. We love this type of videos sir.❤❤

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

      Glad you liked it!

  • @0047kbsong
    @0047kbsong Год назад +1

    Answer : we use & for the address in which the value of variable is located...
    I fully watch c programming made by you.... I really understand good...
    Then I follow your c++ I think I will complete in some days some lecture are remaining...
    Friends first we need to build our concept.... And then go for competitive coding...
    Just I thought what I tell about sir... Sir teaching is best, concept daya provided by sir really helps... I like the way sir teaches and her gratitude to say thanks for watching video every ending of lecture...
    My brother who done diploma he is suggested me to watch the lecture of codeitup...
    Thank you sir ...

  • @i_am_batman_2.0
    @i_am_batman_2.0 11 дней назад

    Why &z? 9:30
    Coz this is the concept of reference variable in c++ where we make another variable pointing toward same memory address and here &z is pointing toward same address as "aa" so when z.a is done it is referencing toward same memory address as aa so aa.z will be same as z.a which is 10.
    Keep Smiling Sir :)
    Love form Nepal

  • @NilambariMahajan-sq5vf
    @NilambariMahajan-sq5vf Год назад +2

    Khup chhan explain kele

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

    Best explanation till now all the video I have watched

  • @ankitadwivedi290
    @ankitadwivedi290 3 месяца назад

    Apke videos mere liye helpful rha h apke explain krne ka trick bahot achcha h

  • @ChandniSharma-ys7bh
    @ChandniSharma-ys7bh 8 месяцев назад +4

    Thanks sir bhut achha samjhte hai aap ❤😅

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

    Thank you that much which I can't explain in words sir,
    Apni sari confusion ko dur kr k , sb topics ko plate mein halwe ki trh paros diya, brilliant explanation sir, a pro level professor teaching skills ,
    Thank you again from distance education student
    Support from Kaithal ( Haryana)

  • @user-sw3db1dm7t
    @user-sw3db1dm7t 8 месяцев назад +2

    You're expiration is very easy to understand thanks sir

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

    Thank you for explaining in a easy way!!

  • @Mbediting79
    @Mbediting79 3 месяца назад

    Really amazing sir ❤ May Allah bless you with healthy happy and successful life 🤲

  • @jitendradiwan9763
    @jitendradiwan9763 10 месяцев назад +1

    I would always like to thanks to you Sir🙏🙏🙏😊

    • @codeitup
      @codeitup  10 месяцев назад +1

      So nice of you!

  • @Rachana-chinhalli
    @Rachana-chinhalli 6 месяцев назад +1

    Thank you so much sir the video was very helpful..

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

      Thanks & most welcome Rachana!

  • @shubhammishra5992
    @shubhammishra5992 9 месяцев назад +1

    Your teaching method is best sir.

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

      Thanks a ton Shubham!

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

    Aap bahut hi achha padhate ho sir

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

    sir your explanation is mindblowing...🤩🤩🤩

  • @poesiafshorts5862
    @poesiafshorts5862 9 месяцев назад +1

    Thank you soo much sir❤❤from Pakistan 🇵🇰

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

    Your videos saved my career keep it up

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

    its call by value to make it call by reference that''s why we use &

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

    Thank you so much sir ❤
    Your teaching style is soo amazing 😍
    And Your explanation skill is unique😊❤️
    I am follow your playlist of c++
    It is really awesome ❤️😊

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

      I used your playlist for class 12th
      Will this useful for JAC 12th board
      Plzz reply sir

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

      Thanks and welcome Sagar!

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

    Best teacher ho ap sir

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

    Thank you sir your teaching is touch my heart ❤️❤️❤️🙏🙏

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

      Most welcome😊

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

    Sir if you provide the notes of these lectures then it will be very helpful for us🙏,
    specially notes for c and c++,
    sir plzz provide notes of these all lectures, its my humble request🙏.

  • @Yuvraj-Singh577
    @Yuvraj-Singh577 3 месяца назад

    i think & esliye use kr rhe h taki jo bhi changes hmare object me ho jise hmm as an argument pass kr rhe h vhh change hmare copy object me bhi reflect ho just like call by reference concept....

  • @GODGAMING-ng3ee
    @GODGAMING-ng3ee 7 месяцев назад +1

    thank you sir copy constructor easy mai smaj agaya 😇

  • @RiyaRoy-qi6tk
    @RiyaRoy-qi6tk Год назад +1

    sir agr koi function address leta hai tb to pointer type parameter lete hai
    ye adress type oara meter smjh nhi aaya

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

    In Class Percentage of Understand Topic : 10%
    In Yours Videos Understanding of Topic : 100%

  • @Alone-relaxcy.32
    @Alone-relaxcy.32 3 месяца назад +1

    💞💞💞
    Good

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

    & vali explanation clears my all doubts
    thanks

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

      Most welcome😊

  • @saleemsufyan3972
    @saleemsufyan3972 3 месяца назад

    Good 😊👍

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

    Sir fir aapka copy constructor mai z galat hai na coz aapne object mai aa likh diya hai.

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

    Thank you sir 💐

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

    Thanku soooooooooo much sir😊😊😊😊😊😊❤❤❤sir Mera kl exam h please pray for me exam bdiya ho😢😢😢

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

    Sir your teaching very nice
    So request sir description mai source code de do

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

    thank you sir

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

      You're welcome!

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

    god bless you sir 😇

  • @Safaabbasi24
    @Safaabbasi24 4 месяца назад

    Plzz tell about delegation constructor

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

    Wait for another video 🙂

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

    Thanks a lot sir 🎉🎉🎉🎉🎉

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

    great

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

    Thank you sir for giving knowledge and the way of ur explanation is just next level 🙏🙏.

  • @ShivamKumar-vb1sv
    @ShivamKumar-vb1sv 15 дней назад

    sir pointer ka adress lene ke liye & ka use krte h

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

    sir please continue this C++ video series

  • @crazy-sz6xn
    @crazy-sz6xn 7 месяцев назад

    nice explanation

    • @codeitup
      @codeitup  7 месяцев назад

      Thanks for liking!

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

    😍thank you sir

  • @rudraviroja749
    @rudraviroja749 3 месяца назад

    That &z is a reference variable

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

    Best best best!!! ❤❤❤

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

    *THANK YOUUUU SO MUCH SIR❤️😊*

  • @SHIVAMSHARMA-bm5tq
    @SHIVAMSHARMA-bm5tq 8 месяцев назад

    Sir can you explain shallow and deep copy with this concept also

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

    we use & because of the concept of call by reference ,is this true or not sir?

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

    Nice explanation Sir. 😍❤👍

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

    well done .. Thank you so much sir

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

      Thanks & most welcome😊

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

    In your playlist of C++ sir you miss to upload Lecture 28 ....

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

    Sir c++ course is completed or remaining?? Please tell

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

    Thankyou sir , for making video

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

      Most welcome😊

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

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

    sir what is shallow copy and deep copy of constructor....

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

    sir,this(&) sign is used for address

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

    Sir copy constructor type per bhi video bnaye na¡

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

    Thank you sir

  • @ANJALI-i2v4w
    @ANJALI-i2v4w 4 месяца назад

    sir "&" is used to call the value

    • @cutie8864
      @cutie8864 8 дней назад

      & is used to pass the address of object to which copy is to be made!!!

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

    Love from pakistan😘

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

    Sir aap using name space std kyu nhi lagate

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

    👍

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

    Address ke liye & ka use kiya h

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

    plz update more videos

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

    Nice sir

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

    Sir class 12 term 2 ka play list kaha hai??

  • @ChandniSharma-ys7bh
    @ChandniSharma-ys7bh 8 месяцев назад

    12:58

  • @user-tu3ge4uu2v
    @user-tu3ge4uu2v 2 месяца назад

    Call by reference

  • @theviralstatus718
    @theviralstatus718 7 месяцев назад

    & means address of

  • @creator_Devil.
    @creator_Devil. Год назад

    Sir ap bhoot hot hu mayra sara dayhan ap per hay kuch samajh nhi aya 🔥

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

    Thanks ❤

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

    Determine karta address variable ko

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

    Jay shree krishna
    & is a address operator

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

    (& Reference )

  • @AmanVerma-kq7hs
    @AmanVerma-kq7hs 2 года назад

    Oops ki pdf milegi sir??

  • @AnjaliBharti-og3nv
    @AnjaliBharti-og3nv 3 месяца назад

    Jb a private h toh kaise yh kaam kr rha someone help

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

      Its automatically store in public

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

    & address kai liyai letai h

  • @user-ck9hk6ww3j
    @user-ck9hk6ww3j Месяц назад

    Thank you so much sir 😊 🙏
    @codeitup

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

    Thank you sir👍