Lecture 15 this pointer in C++ Part 1 Hindi

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 319

  • @slashtab
    @slashtab 2 роки тому +18

    The best part was the way you explained the definition of this, that's what i needed. Thank you.

  • @cbysaurabhshuklasir32
    @cbysaurabhshuklasir32  9 років тому +64

    Just like normal pointer. For 32 bit system it will be 4 bytes and for 16 bit systems 2 bytes

  • @subhankarrakshit8732
    @subhankarrakshit8732 4 роки тому +14

    After 5 days my final year exam is starting. I could not understand this pointer concept. You've explained it very simply. Thank you sir!

    • @YouTubech11
      @YouTubech11 Рік тому +1

      What are you doing now ??

    • @code4js
      @code4js 6 місяців тому

      ​@@UA-camch11vada pav stall 😢

  • @ayushbachan6113
    @ayushbachan6113 4 роки тому +13

    Another more important use of this pointer is to return calling object from a function , i.e return(*this)
    , hence allowing us to use multiple function by one line.
    Very good lecture sir.

  • @sonikachaudhary8537
    @sonikachaudhary8537 8 років тому +26

    this was so good sir. at the end I got what this pointer is. helpful for my tommorow's exam. Thank you

  • @ZatchBell_ODD
    @ZatchBell_ODD 3 роки тому +2

    watching in 2021... yet one of the best videos for this pointer

  • @ankitswami5407
    @ankitswami5407 4 роки тому +4

    This kind of explanation is never before and hoping ever after. Thank you sir
    Became a fan of yours

  • @bharatgupta6172
    @bharatgupta6172 5 місяців тому

    Just Brilliancy ! in explanation .
    I want my C++ teacher like you.

  • @rupeshshrestha5893
    @rupeshshrestha5893 4 роки тому +3

    I was literally crying not understanding anything kudos to this video now I'm smiling and confident 😄😄

  • @ritikshrivastava9442
    @ritikshrivastava9442 3 роки тому +2

    if i have money i definitely bought your course but kya kare but lots of appreciation to you for providing such quality content
    thank you so much sir

  • @aayushkumarthakur3095
    @aayushkumarthakur3095 3 роки тому +1

    This is my 8th time watching this video, humesha bhul jaata hu. Thankfully this video stay here always for me.

    • @ritikshrivastava9442
      @ritikshrivastava9442 3 роки тому +1

      make notes man short notes bano to remember and also it will help in revision

  • @XAPCAA
    @XAPCAA Рік тому

    Bahut - bahut sukriya guruji itna achha explanation dene ke liye🙏🙏🙏🙏🙏💐💐🌺

  • @killeraloo3247
    @killeraloo3247 2 роки тому

    Great video, watching it before 1 hour of viva, and it cleared the topic of this pointer in 1 go.

  • @knowledge_apna
    @knowledge_apna 2 роки тому +1

    Great sir jii. App bhut hi sandar padhate hoon☺☺☺🙏🙏

  • @hiteshkoushal6532
    @hiteshkoushal6532 10 місяців тому

    Best explanation on whole youtube sir.
    Hats off to you!

  • @jugaadudost6486
    @jugaadudost6486 7 років тому +1

    Your teaching is awesome. I am very thankful to you for these series of video lectures. Stay blessed.

  • @AnjaliSharma-lk1gn
    @AnjaliSharma-lk1gn 4 роки тому

    Uh upload ths vdoo 5 yearr agoo...butt it is helping many studentss now and it will be helpful for many students in future also....cozz ur teaching technique is so goodd that...we are preferinggg that 5 year old vdoo...tqsm sirrr .❤️❤️❤️❤️❤️❤️❤️❤️

  • @joshua_dlima
    @joshua_dlima 3 роки тому

    Wow siji maza agaya. Whenever i have some sort of difficulty understanding a concept i come here and i always return satisfied. Thanks a million sirji!

  • @sajiiidali
    @sajiiidali 7 років тому

    SIR VERY GOOD SIR....YOU ARE GREAT...
    SIR KOL MONDAY WALE DIN MERA VIVA HOA THA C/ C++ PROGRAMMING KA... SIR AP KI BADOLAT BOHT ACHA HOA HA ...TEACHER ne khud mujy appreciate kia ha ....nice too lecture sir....

  • @anshulcse08
    @anshulcse08 8 років тому +1

    I read at so many places, but still concept of this pointer was not clear to me. You clarified it easily. Special Thanks !!

  • @shubhsharma19
    @shubhsharma19 2 роки тому

    very clean vey clean explanation so clean i just understood in single watching

  • @AbhishekKumar-hm9nk
    @AbhishekKumar-hm9nk 4 роки тому

    Best video for c++ language

  • @dharatipatel4183
    @dharatipatel4183 7 років тому +7

    sir, can u plz upload part 2 of this pointer in C++. it's not available in you tube

  • @rohitbiju4679
    @rohitbiju4679 5 років тому

    Sir, I follow each and every video of yours,I would be very very happy if you would a little louder, the reason I am saying this is because I stay in the hostel and if you know people here do different things like listening to loud music,playing,shouting all at the same time, so if u could please be louder, but sir your the boss

  • @deepparshotam9060
    @deepparshotam9060 4 роки тому

    Thanks sir very good explanation further examples required about this pointer

  • @virenderkumar7882
    @virenderkumar7882 5 років тому

    Bahut hi knowledgeable video h sir

  • @vakhariyajay2224
    @vakhariyajay2224 2 роки тому +1

    Thank you very much. You are a genius.

  • @Forpc-h9d
    @Forpc-h9d Рік тому

    Sir aapne bhot achha explain kiya Thankyou so much😊😊

  • @neelamtahira4121
    @neelamtahira4121 5 років тому

    It's so helpful
    Best explanation
    Thank U so much Sir
    And keep it up

  • @sachinkumarmathul2030
    @sachinkumarmathul2030 9 років тому +2

    YES, PLZ UPLOAD VISUAL STUDIO C# VIDEO. YOUR VIDEOS REALLY HELPFUL HEARTILY.

    • @prayagrajwade8699
      @prayagrajwade8699 3 роки тому

      bro aaab to 5 saal ho gae aap k comment ko ...... aaap abhi kya kar rahe ho

  • @Rahul8624
    @Rahul8624 8 років тому +20

    please create some challenges and more tasks on your website. after watching your videos i feel like i can program good now.but it will be better if i can test my knowledge somewhere on real applications. i request you to create some challenges

    • @amanagarwal9700
      @amanagarwal9700 6 років тому +4

      Rahul Sood u can practice on hackerrank

  • @ramankr0022
    @ramankr0022 Рік тому

    thanks a lot for making this video. extremely helpful and detailed.

  • @vishaljhaveri6176
    @vishaljhaveri6176 4 роки тому

    Video was awesome. And I understood it thoroughly all in one go.

  • @ishaanmishra9171
    @ishaanmishra9171 8 років тому +8

    sir please also upload a video which tells more about pointer

  • @jangidshweta495
    @jangidshweta495 3 роки тому +1

    good explanation sir

  • @rohantelang5137
    @rohantelang5137 9 років тому +7

    excellent teaching sir :)

  • @lakhankeshri586
    @lakhankeshri586 5 років тому

    you r best in the world sir 🙏🙏🙏🙏🙏🙏🙏

  • @PAWANKUMAR-qo9co
    @PAWANKUMAR-qo9co 7 років тому +1

    Please explain more and I want to know other use of this pointe

  • @amit1234007
    @amit1234007 9 років тому +2

    Excellent video...but please share higher C++ concept video like templates, exception handling etc for which there are no youtube videos.....thanks again !!

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  9 років тому +1

      amit kumar singh ua-cam.com/video/xNBWR_uFqQ8/v-deo.html

    • @sharwankumar-ci3hd
      @sharwankumar-ci3hd 5 років тому

      @@cbysaurabhshuklasir32 , sir can you send me smart pointer link please sir

  • @mahisharma2248
    @mahisharma2248 6 років тому

    Thankyou sir your lecture is osam to understand

  • @abdulmoeed2384
    @abdulmoeed2384 5 років тому +1

    thank you sir respect from Pakistan...

  • @TusharSrivastav21
    @TusharSrivastav21 4 роки тому

    Thank you sir for such a useful video

  • @anupamtripathi5912
    @anupamtripathi5912 7 років тому

    sir ur lectures r very good.it really helps me a lot.thnkuu sir

  • @NoorKhan-lr2tt
    @NoorKhan-lr2tt 4 роки тому

    Teaching method good

  • @aman_
    @aman_ 6 років тому +1

    Sir, You are really great.

  • @ChandramaniPandey
    @ChandramaniPandey 9 років тому +2

    here you are using
    this->l=l
    to acess the member variable of class box or to acess the caller object variable?

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  9 років тому +1

      +Chandra Mani Pandey this is a pointer which points to caller object. this->l is caller object's l.
      l does not belong to class, as it is instance member variable.
      You can call static members of the class as class variables.
      Without object there is no existence of l.

    • @prashantsoni1089
      @prashantsoni1089 6 років тому

      class Box..because this contain the address of caller object and preference given on both sides is for the local variable.

  • @riskcatriax
    @riskcatriax 9 років тому +4

    Good video thanks sir.

  • @algorithmx9114
    @algorithmx9114 5 років тому

    I understand this pointer concept which I did not understand in my class
    Sir please upload more about this pointer

  • @saumyasrivastava6319
    @saumyasrivastava6319 4 роки тому +3

    sir,are there some more uses of this pointer ,if ,so please upload video on them also

  • @collegevlogs123
    @collegevlogs123 4 роки тому

    very nice sir
    thankyou so much sir

  • @paragroy5359
    @paragroy5359 5 років тому

    It is really great sir......thanks a lot

  • @nirbhaykumarchaubey8777
    @nirbhaykumarchaubey8777 Рік тому +1

    06:40 there is one more way to call a member function with the help of an object pointer,
    (*P).member_function();

  • @01armaan6e5
    @01armaan6e5 3 роки тому

    Awsm sir

  • @believeinpractical3930
    @believeinpractical3930 3 роки тому

    Awesome

  • @sajidanwar1903
    @sajidanwar1903 3 роки тому +1

    I request to please make a video in smart pointer

  • @husfarehman1268
    @husfarehman1268 2 роки тому

    special thanks from Pakistan

  • @sunilrawat2717
    @sunilrawat2717 9 років тому +4

    Sir.. u r doing great job... ur all videos are very nice..can u please upload a video on dynamic casting ? Thanx in advance sir.

  • @vikaschaudhary6118
    @vikaschaudhary6118 4 роки тому

    Fantastic

  • @hardikthakor7932
    @hardikthakor7932 5 років тому

    Sir please upload video for pointer to data member and pointer to member function.

  • @YogeshKumar-hx2bw
    @YogeshKumar-hx2bw 6 років тому +1

    Thanks a lot sir
    You really helped me a lot

  • @nafees52mdl
    @nafees52mdl 9 років тому +1

    awesome pls sir give another example of this pointer

  • @prasadcn.3201
    @prasadcn.3201 7 років тому

    excellent video.

  • @adityakumardubey7263
    @adityakumardubey7263 6 років тому

    Hare Krishna

  • @abhinavashish2244
    @abhinavashish2244 9 років тому +3

    sir what is constant pointer and what is pointer to a constant and its difference

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  9 років тому +6

      Abhinav Ashish Constant pointer is a pointer which when point something, it can not point to else.
      int * const p =&x;
      p++; //error
      p=&y; error
      Pointer to const is a variable which can not modify the content of pointing block. This is used to restrict any alteration.
      int const *p=&x;
      *p=5; //error

  • @maheshparmar5647
    @maheshparmar5647 6 років тому

    Sir explanation is awesome....

  • @Nickname1234_
    @Nickname1234_ 4 роки тому +5

    You almost stopped reading comments n replying them as well...bt you always end up tutorials by suggesting to comment on your videos....I know it's long time now since you started making these videos for us....

  • @saudahmad5624
    @saudahmad5624 2 роки тому

    you are amazing, thanks for uploading the course

  • @abhijeetsonwani2809
    @abhijeetsonwani2809 6 років тому +1

    Thank's Sir...

  • @poojachitalkar9245
    @poojachitalkar9245 4 роки тому

    Thanks sir🥰

  • @rohitpadage755
    @rohitpadage755 6 років тому

    👍👍👍 Excellent

  • @ajaykatariya3278
    @ajaykatariya3278 5 років тому

    Superb....👌

  • @saadrao804
    @saadrao804 Рік тому

    worthy content.

  • @sharwankumar-ci3hd
    @sharwankumar-ci3hd 5 років тому

    Sir please make video on singleton design pattern in C++ ,I need that concept for interview

  • @VikashKumar-qj9ht
    @VikashKumar-qj9ht 5 років тому

    Sir give some more uses and application of pointer through this method..Plz...

  • @pranavguptaa
    @pranavguptaa 5 років тому

    Sir,
    Please make more videos on application of this pointer

  • @ramankr0022
    @ramankr0022 Рік тому

    very very helpful

  • @waleedahmed6603
    @waleedahmed6603 7 років тому

    sir u are rally doing a great work

  • @S.E.N
    @S.E.N 4 роки тому

    sir ,please increase the volume of video

  • @minashahid1115
    @minashahid1115 6 місяців тому

    v nice

  • @MangalNathTiwari
    @MangalNathTiwari 7 років тому

    wrongexplnation, name conflict(ambiguity) to inheritance scenario me hota hai.

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  7 років тому +3

      Dear Mangal, are you telling me or asking me. Well let me tell you, name conflict issue is scope based, whether it is between local variable and instance variable or between base class member variable and derived class member variable.
      When one scope comes inside the other, name conflict issue occurs. Hope you understand the concept.
      Best wishes

  • @MrUmang40
    @MrUmang40 8 років тому +2

    sir,
    thanking you a lot for reaching out so wide and helping out in such a noble way..
    sir, my question is i have learned a lot through your efforts but tricky part is as to how can i implement my knowledge of c++ language to build applications in real world or what are the other prerequisites to be learned to build the same application...
    do respond me sir.........
    regards umang
    bangalore

    • @cbysaurabhshuklasir32
      @cbysaurabhshuklasir32  8 років тому +1

      +Umang Bhatnagar I advice you to move little bit further and learn PHP-MySQL from www.mysirg.com and develop a web application, a more job oriented course

    • @rohitpawar4096
      @rohitpawar4096 5 років тому

      hii tumko ab 3 years ho gaya so what things did you learn

    • @MrUmang40
      @MrUmang40 4 роки тому

      @Avi Sinha I moved onto quite a lot of technology stack as a part of journey through career of 5 years now....
      Moved onto web development wherein I learnt java, javascript, react framework, redux, hooks, graphql, and pretty much a lot of other libraries....
      Ofcource Html and css being the foundation skill set....
      Apart from that I even get to learn embedded systems where in I had to work on embedded C linux, device drivers and lot more

    • @MrUmang40
      @MrUmang40 4 роки тому

      @Avi Sinha Yes

  • @PAWANKUMAR-qo9co
    @PAWANKUMAR-qo9co 7 років тому

    Thanku sir but please explain more about this pointer

  • @Bamboo-Use
    @Bamboo-Use Рік тому

    Thank you so much sir

  • @praveenchaubey7018
    @praveenchaubey7018 4 роки тому

    Thank you sir. It was really helpful.

  • @madannikalje760
    @madannikalje760 6 років тому

    Thanks sir

  • @pruthvipatel9450
    @pruthvipatel9450 8 років тому

    its pretty good for begginers...nice sir...good job

  • @ankitkumarmajhi4020
    @ankitkumarmajhi4020 5 років тому

    from where we should practice??? Please suggest some good problem books.

  • @nancymahal4989
    @nancymahal4989 4 роки тому

    Sir please explain the other uses of this pointer..

  • @arshiansari4802
    @arshiansari4802 6 років тому

    nice video

  • @bareetsingh
    @bareetsingh 5 років тому

    Thanx Sir

  • @supersonic4600
    @supersonic4600 6 років тому

    this was very helpful sir....it was crystal clear..thanks a lot

  • @abhiyadav1866
    @abhiyadav1866 8 років тому

    nice video sir

  • @milimishra8785
    @milimishra8785 7 років тому

    awssssm sirrr..thx alott

  • @pushkarkumar7173
    @pushkarkumar7173 5 років тому +2

    Sir phir member function or static member function Mai kya difference hai

    • @sushilkumar-cw9cw
      @sushilkumar-cw9cw 5 років тому

      Pushkar Agrawal static member functions can be called from outside the class with having to create any objects of class..

  • @pawankhatri1940
    @pawankhatri1940 7 років тому

    ur great sir.......

  • @adityajain7793
    @adityajain7793 5 років тому

    Thank u sir

  • @Sachin-ir6wn
    @Sachin-ir6wn 6 років тому +1

    please upload more video for this pointer

  • @chethand7699
    @chethand7699 4 роки тому

    Sir, please upload another lecture on this pointer

  • @pratyushtripathi1728
    @pratyushtripathi1728 Рік тому +1

    #include
    using namespace std;
    class box
    {
    private:
    int l,b,h;
    public:
    void setdata(int x,int y,int z)
    {
    l=x;
    b=y;
    h=z;
    }
    void showdata()
    {
    cout

  • @ajaysoni5370
    @ajaysoni5370 7 років тому

    sir how to find address of const int a=10; by pointer is possible or not
    and can be change of address any variables like int a=10;