Pointers In C: C Tutorial In Hindi #26

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

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

  • @NigarF173
    @NigarF173 4 года назад +272

    O mere bhaiya u r the best than my college faculty 🙂👌

  • @akshatg720
    @akshatg720 3 года назад +101

    Sir your style of teaching and making complicated topics into a simple one are really appreciable... Keep up the good work.

  • @manish-mk
    @manish-mk 5 лет назад +126

    Wow ! What an awesome explanation. Really this video cleared all my doubts

  • @SandipBhattacharya
    @SandipBhattacharya 2 года назад +69

    Great video, thanks a lot for uploading. Let's briefly discuss about all the pointer operators available in C and C++. There are two pointer operators: * and &. The & is a unary operator, called “Address of” or “Reference operator” that returns the memory address of its operand.
    For example,
    j = &i;
    assigns the address of i into j. This address is the computer's internal location of the variable in memory. It has nothing to do with the value of i. You can think of & as returning "the address of". Therefore, the above assignment statement can be expressed as "j receives the address of i".
    The second pointer operator, *, called “Value at address” or “Dereference operator” or "Indirection operator" is the complement of &. It returns the value located at the address that follows. For example, if j contains the memory address of the variable i,
    k = *j;
    copies the value of i into k.
    Hope it was clear. :)

    • @Charu-g6y
      @Charu-g6y 9 месяцев назад +1

      Thanks for the information ☺️

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

      @@Charu-g6y Most welcome!

  • @Gurpreetsingh-rq2hp
    @Gurpreetsingh-rq2hp 4 года назад +15

    Finally! I got the concept of pointers after watching this video 3times🤑🤑🤑🤑🤩

  • @vishalchauhan9832
    @vishalchauhan9832 5 лет назад +29

    Sir you are doing a great job! Salute you sir....
    Sir pls start data structure tutorial also.

  • @Hades_xoxo
    @Hades_xoxo Год назад +55

    "me ankit me interested hu, mujhe ye jan na h ki Ankit ke andr kya hai "💀💀

  • @kunalpatil7706
    @kunalpatil7706 3 года назад +29

    you are a guardian angel of us and your way of teaching is just phenomenal, u don't let me feel any topic to be hard. you are a million times better than my college professor. p

  • @MdMeraj-vt2xl
    @MdMeraj-vt2xl 3 года назад +2

    Harry Bhai jindagi mein pahli POINTER aaj samajh mein aaya
    Thank u Bhai mere

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

    bahut hi acche se samjhate ho aap harry bhai pointers ek dam acchche se samajh me aagaye online courses bhi aisa nhi samjha pate jaisa aap samjhate ho. Maja aagaya samajhke.

  • @yougetchandan
    @yougetchandan 4 года назад +8

    After watching your channel it's evident that teaching is an art....you are born with it....no one can learn how to teach. you are a wonderful teacher, sir...

  • @harshchauhan4142
    @harshchauhan4142 Месяц назад +1

    04:06 Pointers in C are simplified and explained practically without needing to remember definitions or codes.
    08:12 Understanding memory allocation with pointers in C
    12:18 Understanding pointers and their functionalities
    16:24 Understanding the M% and D reference operators in C
    20:30 Understanding pointers and variable addresses in C.
    24:36 Understanding pointers and memory addresses in C programming.
    28:42 Pointer dereferencing and null pointer concept in C
    32:47 Pointers in C allow memory management and dynamic allocation

  • @muhammadadilkhalil9681
    @muhammadadilkhalil9681 4 года назад +23

    Thank you so much Harry for such a fantastic explanation of pointers! You are far better than most of the university teachers as you know the art of transforming difficult topics to easy ones... Thumbs up 👍👍👍...!!! From Pakistan...!

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

    Nice explanation of pointer thank u so much...😍😍👏👏👏👌👌👌

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

    Bhaiya aapke video ke through computer languages learning karna bahut easy ho Jata hai you're far better than my college teacher, thank u bhaiya abhi mujhe exam ka revision achhe se hogya hai 👍

  • @anujdubey5184
    @anujdubey5184 5 лет назад +7

    Great work Harry bhai
    Your lectures are really "MACHO"
    Level of understanding was really great😃😃😃

  • @kritisrivastava2102
    @kritisrivastava2102 3 года назад +6

    Harry there is no better teacher for Coding than you !!

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

    Amazing👍 sir,
    Aapka samjhane ka tarika, kabiliyat tariph hai 🤘👍.

  • @panwar3129
    @panwar3129 4 года назад +10

    Harry Bhayya ....I am very thankful to u...... because i am only 13 years old and i am learning c language from ur channel.......and i am able to understand it easily because of you....... thanku harry bhayya

    • @SUMEDHKRISHNA
      @SUMEDHKRISHNA 4 месяца назад +1

      abe mje kar bhai abhi kya c padhke faltu me competition badha rha.

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

      @@SUMEDHKRISHNA don't demotivate anyone. i am 16 and also learning. there is nothing wrong to start from an early age.

  • @manush7025
    @manush7025 5 лет назад +129

    HARRY SIR,,, m daily kam krta hu+ pdta hu+khana khata hu+roj sota hu and DAILY APKA CHANNEL CHECK KRTA HU SIR.
    IITIAN HARRY(FROM KHADAKPUR IIT) KEEP IT UP.
    >>>---MUSHKIL CONCEPT SMAJ NHI ATA,,,CHLO HARRY SIR KE PAS----

  • @AkashKumar-co4yz
    @AkashKumar-co4yz 8 месяцев назад

    In this class notes, Example 2:-Correct the printf("The Address of a is %p
    ," &a); line with printf("The Address of a is %p
    ", &a); and thanks for the basic pointer class session

  • @AURGAYSM
    @AURGAYSM 11 месяцев назад +1

    harry bhai is fire ❤❤❤❤❤❤❤❤❤❤

  • @देवराज336
    @देवराज336 3 года назад +1

    Harry bhai app bahot ache se samjarahe ho keep it up

  • @VaibhavSingh-vy6gy
    @VaibhavSingh-vy6gy 3 года назад +4

    Thank You bhaiya for making this topic crystal clear.

  • @sayanroy4388
    @sayanroy4388 3 года назад +13

    Sir, I already watched your all past python videos. Now I want to learn more. Please upload more python learning videos. 🙏

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

    Thank you so much 😊
    Khud keTeacher se ni aya smjh jitna is video se aya 😀

  • @yourdarzen6912
    @yourdarzen6912 3 года назад +3

    You are outstanding sir. No words for u. U are fabulous😘

  • @vinitjadhav8520
    @vinitjadhav8520 3 года назад +6

    Great explanation sir. Mean alot for this thank you so much ♥️

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

    Very mast video harry bhaiya 👍

  • @SANJAYDAS-zh7fw
    @SANJAYDAS-zh7fw 2 года назад +5

    When you understand "rocket" topic from real teacher like codewithharry, the music at the end is like victory music for us. That's a real teacher!

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

      😂🎉😢😮😅😊

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

    ankit me intrest he ankit k andar kya he 🤣🤣 13:07 nice vai having fun while studying

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

    Undoubtly , the best teacher for learning CS such a concept clarity and crystal clear explanation

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

    Keep making these useful video beginners ke liye bohot helpful hai ye thank you very much for helping I used to think ye sab hard topics hai and when I saw your video it made it all clear

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

    Your video's are fantastic bhaiya

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

    Great video, thank you Bhai.🙏

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

    Love you man...beautifully explained in easy language ❤️ I came here after all those books like Yashavant Kanetkar and others... but understand by your video 😅the actual meaning of pointers 👉

  • @Diksha-Jha
    @Diksha-Jha 11 месяцев назад +1

    Bahut mst everything is clear ❤

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

    Pointers always confuse me till this date...This is next level teaching. Cleared all my tiny doubts.

  • @shubhamnawani3610
    @shubhamnawani3610 3 года назад +6

    7:33 at least someone took my name in their video 🤣🤣🥂🥂

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

    Thankyou so much! Love from Pakistan!🥰

  • @zindagikakissa
    @zindagikakissa 3 года назад +3

    thankyou sir... For explaining this tropic... It's a very easy way to learn it....

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

    haary sir aap meray liyay aik ideal ban chukay hai
    your way of teaching is excellent love you bro from pakistan

  • @hemantsuthar7650
    @hemantsuthar7650 5 лет назад +7

    Thanks bhai for calling and solving my problem.

  • @iamcalledusman
    @iamcalledusman 3 года назад +3

    nice explanation! you are the best !
    I have copied the comment of Muhammad Adil Khalil because i have the same feeling
    Thank you so much Harry for such a fantastic explanation of pointers! You are far better than most of the university teachers as you know the art of transforming difficult topics to easy ones... Thumbs up 👍👍👍...!!! From Pakistan...!

  • @gargijain-yc7ij
    @gargijain-yc7ij Год назад

    Your style of teaching is really great Thank You 😄❤️

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

    Yes crystal clear concept understanding. .thanku for such a great video

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

    You are the best Bhaiya learnt pointer very fast

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

    Confusing topic got cleared. Nice explanation

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

    Thank you, finally pointers smjh aa gya.

  • @sijan-xattri
    @sijan-xattri Год назад

    Hello brother thanks for ❤️❤️❤️
    I am from nepal
    Aap ka video nepal me vi dekhata hai hum log
    Thanks for tech we ❤️❤️

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

    Very good explanation , it clear my all doubts thanks bro

  • @SRIHARIM-o6y
    @SRIHARIM-o6y Месяц назад

    best tutorial even after five years nice...!

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

    Bhai u r very much better than my teacher.... Kudhoss

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

    You are the great teacher🥰

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

    Hii sir Thanku very much 🙌🙌🙌🙌💓💓💓💓💓💓💓💓

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

    After 3 video Another yt channel but that yt channel fantastic 😊 all doubt clear

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

    Thank you very much. You are a genius.

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

    Thanks..Brother.For This Awesome Tutorials.

  • @KapilKumar-ek4cm
    @KapilKumar-ek4cm 3 года назад

    bhai ne bilkul hindi character me bataya hai
    namak bhot badhiya bro thank you

  • @poonamrakheja1774
    @poonamrakheja1774 Год назад +5

    Pointer is like a postman which has addresses of persons on postcards which are to be delivered to that person and he sees those addresses when he reaches there on their number plate which is outside their homes

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

    your teaching style is nice harry bhaiya

  • @kshitijshekhar1144
    @kshitijshekhar1144 3 года назад +135

    Important to note:
    int *ptr = &a;
    is same as
    int *ptr;
    ptr=&a; //Yes, it's ptr not *ptr, *ptr is a dereferencing operator and will return an error because ptr doesn't yet have a value here

    • @mr.knight8967
      @mr.knight8967 3 года назад +12

      Exactly man,

    • @thesmartone6601
      @thesmartone6601 2 года назад +6

      We can also come up with logic by seeing the fact that RHS is &a which is a address so LHS must also be an address

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

      Genius bro ​@@thesmartone6601

  • @damansharma6737
    @damansharma6737 4 года назад +4

    ooooooo bhaiiiii kitna aasan bana deta hai ye sabko...hats off harry bhai

  • @digambersinha
    @digambersinha 5 лет назад +2

    idol bn gye ho aap mere💓😊😊😊😊

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

    Nice explanation. Thank you sir.

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

    Thank you sir, your videos where a big help to me 😊

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

    Bhai Really Fantastic One Yr 👌

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

    bahut acche se samaj aaya bhaiya,thanks to your efforts

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

    sir you are so helpful, thanks a lot for helping us, i really cant express how thankful i am

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

    bhai bhari ch❤

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

    Wow , fantastic teaching. I understood pointers so easily. I watched 3 lectures but couldnt understand it easily. Thanks for thr free lecture Harry sir , very helpful :D
    July 2023

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

    More than 1lakh veiws , only 200+ comments and 7k likes thts not fair!! this chnl deserve more

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

    Nice sir it's wonderful 🎉🎉

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

    I have my exams knocking the door and was unable to understand a bit about pointers thanx to you that I have successfully understood the concept of pointer.

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

    Maine aap jaisa teacher nahi dekha

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

    wow ! awesome explanation bro❣️👍🏻

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

    Harry bhai you are carry bhai🤘🤘

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

    Harry bhai concept acha se samja dete ho aap

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

    Sir brilliant explanation ❤️

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

    This is very very helpful video for me .... thank you so much bhayia😀😀😀😀

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

    the way of your explanation is much better then my maths profassior 😁😄

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

    #include
    int main(){
    int a=4;
    int *ptr=&a;
    printf("%d
    ",a); //value of a
    printf("%x
    ",ptr); // address of a
    printf("%d
    ",*ptr); //value at address of a
    printf("%x
    ",&ptr); //address of ptr
    printf("%x
    ",&a); //adress of a
    return 0;
    }

  • @Anonymous-om5ql
    @Anonymous-om5ql 3 года назад +24

    A simple code to declare a pointer to a pointer:
    int a = 45;
    int *pta = &a; //pointer to a
    int **ptp = &pta; //pointer to (pointer to a)

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

      Matlab ki agar third time karna hoga toh we can write :-
      int ***abc = &ptp;
      Is it so???

    • @Anonymous-om5ql
      @Anonymous-om5ql 2 года назад +1

      @@anshuraj5734 Yes 🙂

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

      @@Anonymous-om5ql 😒😒

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

    Sir ek number pathaya Apne

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

    Thank you bhaiya ❤️

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

    it was really good, appreciate the effort..

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

    Please try to do online classes in c language for 2k24 for BCA first year... ❤✨

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

    thank you sir for explaining the pointer. it is very helpful for me😊😊

  • @adarsh5997
    @adarsh5997 29 дней назад +1

    key takeaway
    print(&a) = print(prta)
    print(a) = print(*ptra)

  • @156sparsh7
    @156sparsh7 Год назад +5

    Hello sir this code is not running in my vscode while runs fine in online gdb emulator for c plz tell why

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

    Thnq Bhaiyya...huge respect

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

    very nice explanation...harry

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

    Thanku so much harry bhai ❤❤

  • @RahulRaj-sc8pv
    @RahulRaj-sc8pv 5 лет назад +12

    Waw bhai love you nice explanation .
    But I have one question
    Aap ne docker pr full complete course nahi banaya 😂

    • @CodeWithHarry
      @CodeWithHarry  5 лет назад +4

      Good to hear that you like this tutorial. I will cover docker tutorial series soon!

    • @RahulRaj-sc8pv
      @RahulRaj-sc8pv 5 лет назад

      @@CodeWithHarry thanks in advance 🙏

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

    Thank you Harry. I am following the series one-by-one. Gr8 work.....keep it up.

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

    Nice Explanation i give you five stars

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

    Love you sir ji and thanks a lot 💕

  • @rishikumar-uf7tu
    @rishikumar-uf7tu 6 месяцев назад +2

    13:30 very important

  • @CHIRAG-pm5jf
    @CHIRAG-pm5jf 2 года назад +1

    Thanku sir ❣️

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

    Keep it up bro.
    Perfectly samajh gaya