C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 548

  • @ankan7193
    @ankan7193 ปีที่แล้ว +699

    Lakhs of college fees wasted...this free of cost lectures taught everything way more simply than any other teachers or institutes...Absolutely Amazing teaching skills and proper knowledge about the topic could result in such output

  • @coltenpulis6679
    @coltenpulis6679 2 ปีที่แล้ว +50

    ive watched tens of videos on pointers, and hundreds of articles on pointers, but this is the first time that i have the FULL scope of pointers. thank you so much

  • @pavanyegireddy6957
    @pavanyegireddy6957 ปีที่แล้ว +16

    Mam so many students are following jenny lectures. If any one start your videos they can't skip middle of your play list they must watch till end because you are catching students mindset and also you know how to teach a student clearly. I am very thankful to you and i am very lucky to see your lectures

  • @praveensamuel8083
    @praveensamuel8083 3 ปีที่แล้ว +149

    here x variable is a float data type, and pointer is a int variable so in that...
    ptr=&x; //Error
    ptr=&a; //correct
    tq madam lots of love from Telangana state 💙

    • @shoppingpoint596
      @shoppingpoint596 2 ปีที่แล้ว +5

      can we assign the same to both if the data type is same i mean one pointer to the address of two variables

    • @mushua6060
      @mushua6060 2 ปีที่แล้ว +2

      @@shoppingpoint596 Add One More Pointer Variable Like Int *q;

    • @madhavan.1209
      @madhavan.1209 2 ปีที่แล้ว +4

      @@mushua6060 not int . its must be a float *q because x varible is a float datatype

    • @nasimkazi-hj8hi
      @nasimkazi-hj8hi หลายเดือนก่อน

      Fghhhv

  • @l.lawliet4636
    @l.lawliet4636 2 ปีที่แล้ว +676

    Float x,y;
    Int a, *ptr;
    ptr = &x ( not possible because x = float )
    ptr = &a ( possible as a is also int and ptr is also int )

    • @ankulgesarvesh18
      @ankulgesarvesh18 2 ปีที่แล้ว +26

      but buddy float datatype can accept both int and float values

    • @l.lawliet4636
      @l.lawliet4636 2 ปีที่แล้ว +28

      @@ankulgesarvesh18 that would be typecasting but in pointer... It's different

    • @tsmxgaming3126
      @tsmxgaming3126 2 ปีที่แล้ว +14

      bro float x,y; is wrong because we want to initalize it with float*x,y

    • @ankulgesarvesh18
      @ankulgesarvesh18 2 ปีที่แล้ว +4

      @@l.lawliet4636 ohoo okay

    • @miraclin11
      @miraclin11 2 ปีที่แล้ว +9

      @@tsmxgaming3126 she is declaring a variable, not a pointer in the first line

  • @apudas7
    @apudas7 ปีที่แล้ว +56

    Please don't dislike mam's videos. She really works hard for us......

  • @angelevergreen999
    @angelevergreen999 2 ปีที่แล้ว +37

    I have followed all of your lectures up to now and i'm geniunly excited to start this new topic. This can only means your teaching method is amazing mam

  • @sribasmaji3330
    @sribasmaji3330 2 ปีที่แล้ว +3

    Seriously mam, first of all i searched pointer in c .so then saw 2 video before this . understood but entire not.whenever i clicked your video seriously my concept about pointer is now 100% clear. already subscribed your channel. salute your teaching quality. thank you .

  • @devalsrivastava3793
    @devalsrivastava3793 2 ปีที่แล้ว +43

    Thank you so much mam you explain each and every concept in detail. I can't afford high fees of coachings. So thank you for giving this C programming basic to advance content for free. 🙏

  • @usamatariq4222
    @usamatariq4222 3 ปีที่แล้ว +20

    JENNY YOU ARE A LIFE SAVER...IM PAKISTANI RESIDING IN ITALY FOR COMPUTER ENGINEERING AND YOUR LECTURES MADE ME THROUGH THIS TOUGH TIME. LOTS OF THANKYOU

  • @swetachaudhary9220
    @swetachaudhary9220 2 ปีที่แล้ว +160

    Thank you so much mam for teaching us c language at zero cost. It's awesome level teaching. Can't describe gratitude in words but thank you so so much from very deep of my heart...😊😘❤

    • @yashyash1181
      @yashyash1181 2 ปีที่แล้ว +4

      Jenny N Harry are
      Lob😍😝

    • @Nilsen111
      @Nilsen111 ปีที่แล้ว +1

      ​@@yashyash1181lob means ?

    • @yashyash1181
      @yashyash1181 ปีที่แล้ว

      @@Nilsen111 it's means love, my feelings to express gratitude to them

  • @ShekhAbrar822
    @ShekhAbrar822 6 หลายเดือนก่อน

    Understood easily because of your clear and detailed explanation
    U r much Better than our college faculties for whom we pay lakhs of fees

  • @vaibhavsinhbihola1
    @vaibhavsinhbihola1 3 ปีที่แล้ว +46

    float X,y;
    int a,*ptr;
    ptr = &a;
    This are correct
    And wrong is ptr = &x bcz you can't assign address of floating variable to integer pointer

    • @djrky3731
      @djrky3731 2 ปีที่แล้ว +1

      Is ptr=&a correct
      Or *ptr=&a should correct

    • @chandana3799
      @chandana3799 2 ปีที่แล้ว +1

      Mam.notes siguttha mam

    • @chandana3799
      @chandana3799 2 ปีที่แล้ว +1

      Notes Madi kalsi mam

  • @ramgupta4535
    @ramgupta4535 2 ปีที่แล้ว +4

    Conclusion of this Video
    'Jis Datatype ka Pointer usi datatype ko saajhe, duja kare to thenga 👍 baaje'
    Thankyou Ma'am 🙏🙏

  • @aryangupta9300
    @aryangupta9300 7 วันที่ผ่านมา

    thanks mam because of you i can concentrate on lecture otherwise my college teacher is very boring and i am not able to uncderstand. But now my concepts are clear. Love you mam❤❤❤

  • @macdaveedgolden7890
    @macdaveedgolden7890 ปีที่แล้ว +1

    I have searched through the nuke and cranny of this space.. I can boastfully say that your tutorials are magical.. thanks ma’am ❤

  • @Rupank_Sahu
    @Rupank_Sahu ปีที่แล้ว +18

    17:00
    Ptr=&x is incorrect whereas ptr=&a is correct because a is int type and pointer also of same datatype but as we can see x is of float datatype but pointer is still a int datatype hence a is correct but not in case of x 👍🏼👍🏼

  • @DarshanKumarTV-ur8tw
    @DarshanKumarTV-ur8tw ปีที่แล้ว

    am paying money to learn c programming outside live clases then also am not satisfying in the class thats why am came for youtube study am refering jenny madem vedios now fully satisfying in c with zero cost tq so much mam🤩🤗☺

  • @ApplyIT2021
    @ApplyIT2021 2 ปีที่แล้ว +11

    Pointer is very useful. It is around two operators: memory address (&) and memory access (*)

  • @shrutichauhan4935
    @shrutichauhan4935 2 ปีที่แล้ว +9

    Thanku mam to teach each and every concept in details .Your teaching level is so awesome 🥰🥰

  • @abdulrahimjalloh363
    @abdulrahimjalloh363 ปีที่แล้ว

    You are the best teacher for programming in the whole world. Thanks for your effort and free gift.

  • @_MdJihadulAbedin
    @_MdJihadulAbedin 3 ปีที่แล้ว +18

    Mam, the way of your teaching just awesome. Lots of love and respect for you Mam ❤️

  • @tonysofla
    @tonysofla 2 ปีที่แล้ว +5

    C is supposed to be ab abstract layer for different cpu hardware. that is like why you can't use Carry for example. But what all cpu/mcu have is opcode for indirect addressing.
    That is what C pointers let you access, so just think that all struct data are Tetris blocks that repeats at some offsets and intervals, the C-pointer is to point this part of memory as it has already been pre-allocated at compile. So, it's like a gray area of what C allows: direct memory access. And if you do want it, can be done with type casting a pointer: *(INT*)0x1000

  • @Rdrudra07
    @Rdrudra07 3 ปีที่แล้ว +17

    The information we are getting at zero cost is having more value than paying 🙃....... ❤
    ...... Thanks a lot mam...... for such great effort ❤💙💜

    • @Manan188
      @Manan188 2 ปีที่แล้ว

      i am paying 90,000 rupees at coaching still have to watch this

    • @codeishard3182
      @codeishard3182 2 ปีที่แล้ว

      ​@@Manan188per year or month? bro, do you know any good online coaching which covers details of CS 1st semester to the last? I mean where I will be taught discrete math, linear algebra, etc. I am from Bangladesh recently admitted into a university.

    • @Manan188
      @Manan188 2 ปีที่แล้ว +1

      @@codeishard3182 per year no coaching is good youtube is best

    • @codeishard3182
      @codeishard3182 2 ปีที่แล้ว +1

      @@Manan188 can you suggest a playlist for discrete math? I like Indian tutorials whether it's Hindi or Indian English...

  • @sandeepsandra6880
    @sandeepsandra6880 2 ปีที่แล้ว +2

    I Just cant listen your lecture by looking into your eyes 👀 👀 😍😍😍

  • @tharinduhasarangarubasinsi7714
    @tharinduhasarangarubasinsi7714 7 หลายเดือนก่อน

    Because of this Lecturer i passed my algorithms and data structure exam , good luck

  • @siddarthm3019
    @siddarthm3019 2 ปีที่แล้ว +3

    Tq mam for explaining in easy way love from tamilnadu❣️

  • @shraddhapawar5674
    @shraddhapawar5674 3 ปีที่แล้ว +19

    Hello ma'am, lot's of love and happiness to you, I believe that greatest philanthropist in this world is teacher and you 💯 deserve that.

  • @saifullahsiddiquei2851
    @saifullahsiddiquei2851 ปีที่แล้ว +9

    Please make videos on c++ language your teaching experience is very good

  • @bestsongs248
    @bestsongs248 2 ปีที่แล้ว +2

    ye kitni awesome hai yarr💙💙💙

  • @AnuragSingh-lu7on
    @AnuragSingh-lu7on 2 ปีที่แล้ว +6

    Thankyou so much ma'am, now I realize you are best then my college teachers ❤❤, you explained very easily.. And now my concepts are clear. Thanks a lot again ma'am ❤❤❤

  • @Shawaz11
    @Shawaz11 3 ปีที่แล้ว +2

    Jenny man you are the best mentor and you did this topic very easly and good explan. 🤗🤗🤗

  • @dazaisan6697
    @dazaisan6697 ปีที่แล้ว +3

    100 times better than my own teacher at college

  • @bhabanisankarbehera4303
    @bhabanisankarbehera4303 3 ปีที่แล้ว +5

    Tq..mam your teaching style is very good and easy also I was appreciated that video

  • @himanshu-x8s6b
    @himanshu-x8s6b 23 วันที่ผ่านมา

    so deeply lecture i watched 1st time

  • @unique_658
    @unique_658 6 หลายเดือนก่อน

    your way of teaching is simple and good .

  • @saptarshimajumder5168
    @saptarshimajumder5168 3 ปีที่แล้ว +10

    In physics honours 3rd year this chapter is in our syllabus. Old memories flash out . Like the video

  • @chidiebereemereuwa9306
    @chidiebereemereuwa9306 ปีที่แล้ว +1

    Thanks Jenny!! God Bless you for me. These videos has really been helpful to me.

  • @dimathperera5047
    @dimathperera5047 9 หลายเดือนก่อน +1

    Dear Madam, I appreciate you. 🤩

  • @dgs2659
    @dgs2659 2 ปีที่แล้ว +1

    1st line is wrong ,2nd line is correct......thank you mam to ease this concept for us.🙏🙏

  • @tarunreddy8884
    @tarunreddy8884 3 ปีที่แล้ว +3

    Hi mam i am very big fan of ur lectures and i am very happy to see u again

  • @suvashreepriyadarshinibisw8017
    @suvashreepriyadarshinibisw8017 ปีที่แล้ว

    How clearly mam you can described I see many of TH-cam channel but no one can explain like this

  • @aarn3932
    @aarn3932 2 ปีที่แล้ว +2

    Thank you so much.i really like you explanation mam.
    In pointer many teacher used *ptr as exo. which make it confusing it as syntax pointer,you really solved my doubt.ty

  • @Svr_edits
    @Svr_edits 2 ปีที่แล้ว +2

    I am diploma student I get an idea about pointers thank u mam

  • @Computer9911
    @Computer9911 8 หลายเดือนก่อน

    Thanks ma'am for your good video 📸 towards this pointers topic

  • @easymalayali4310
    @easymalayali4310 3 ปีที่แล้ว +5

    Big fan of your classes maam ❤️❤️❤️❤️

  • @rakurame6990
    @rakurame6990 3 ปีที่แล้ว +79

    int a, *ptr;
    ptr = &a;
    These are the correct ones. 1st and 3rd are wrong. Since x is defined as a floating type variable whereas ptr is defined as int.

  • @ankitthakur4371
    @ankitthakur4371 3 ปีที่แล้ว +2

    Video start at 2:53

  • @nandishds9596
    @nandishds9596 ปีที่แล้ว +1

    Jenny lecture >>>>>>>>>>>all college faculties ☠️

  • @DPCEHYMDADNANANSARI
    @DPCEHYMDADNANANSARI 8 หลายเดือนก่อน

    Kitni awesome hai ywr💜

  • @abdullahkhan-rp1ze
    @abdullahkhan-rp1ze ปีที่แล้ว

    Thanks a lot , a student is taking ur lectures from Pakistan....

  • @arshuarshad1551
    @arshuarshad1551 11 หลายเดือนก่อน

    You are my jaan mam means coding ki jaan nobody can teach like you mam all the colleges and university Phd teachers shoud see you and take lessons from you

  • @AkashDixitShorts
    @AkashDixitShorts 2 ปีที่แล้ว +3

    Ptr can't contain address of x as it is float while ptr can store address of that variable only whose data type is int 17:15

  • @rosonerri-faithful
    @rosonerri-faithful 3 ปีที่แล้ว +31

    float x,y;
    int a,*ptr;
    ptr=&x;
    ptr=&a;
    ptr=&x gives error since x is of float type and pointer is of int type
    ptr=&a is correct since a is of int type and pointer is of int type too

  • @maryannemuthoni5388
    @maryannemuthoni5388 10 หลายเดือนก่อน +2

    float x, y;
    int a, *ptr;
    ptr = &x;
    ptr = &a
    For the assignment of address of x to ptr it does not work since x is a float type but ptr stores an int type.
    For address of a to ptr it works since a is an int and ptr stores address of an int. If the address of a is for example 1000, the value of ptr is 1000.

  • @classicmantv9263
    @classicmantv9263 ปีที่แล้ว +1

    The right channel to subscribe to

  • @bogillivenugopalkrishna9864
    @bogillivenugopalkrishna9864 ปีที่แล้ว +2

    ptr=&a is possible because a is int type and x is float type

  • @vickyvignesh3844
    @vickyvignesh3844 3 ปีที่แล้ว +6

    mam waited for pointers for a long time thanks for start uploading mam!!.please post all videos as soon as possible mam.please try to upload 2 videos per day mam.

  • @sanskarkurude
    @sanskarkurude 2 ปีที่แล้ว +2

    When I was a kid my sister also explains me like this thanks didi 😀

  • @ReshmaTellismile
    @ReshmaTellismile หลายเดือนก่อน +2

    4 one is correct

  • @rajanitdep1702
    @rajanitdep1702 3 ปีที่แล้ว +1

    Mam I am from Mass, still I watching your videos. Because of understanding humen technology

  • @samirakhalil7223
    @samirakhalil7223 หลายเดือนก่อน +2

    Tack!

  • @kiko7247
    @kiko7247 3 ปีที่แล้ว +2

    I am finally understanding pointers, THANK YOU!!

  • @coder4116
    @coder4116 3 ปีที่แล้ว +2

    Thanks mam it helps me a lot for learning c language

  • @mudassarsiddiqui4112
    @mudassarsiddiqui4112 2 ปีที่แล้ว +6

    Jenny madam 🙏🙏🙏
    Such a good explanation..
    You are doing an excellent job 👍👍👍

  • @AnandHondappanavar
    @AnandHondappanavar ปีที่แล้ว +1

    Your teaching skills are superb madam 😊

  • @Aadi_di_tory_
    @Aadi_di_tory_ ปีที่แล้ว

    Glow of your teaching skills also reflects glow on your chiks🌟💯

  • @vimala7830
    @vimala7830 3 ปีที่แล้ว +1

    Tq so much for your crystal clear explanation mam...
    Ptr = &a is right other one is worng...

  • @MadhuKarampudi
    @MadhuKarampudi ปีที่แล้ว +2

    float x,y;
    int a,*ptr;
    ptr=&a;(This is Correct)
    ptr=&x;(This is wrong)
    Because pointer is addressing the variable which is in integer data type

  • @bawaabdulsilas3681
    @bawaabdulsilas3681 ปีที่แล้ว +2

    float = x, y; - is a valid declaration in C.
    int a, *ptr; - Is also a valid declaration in C.
    ptr = &x - Not valid, because x and ptr are not the same data type (i.e while x was declared using "float" data type, ptr was declared using "int" data type as such, ptr cannot point to x).
    ptr = &a - This is valid because both were declared using the same data type which is int. So by implication ptr should be able to store the address of a.
    So, at last ptr will contain the address of a, say... 2001.

  • @yagalakshmi3912
    @yagalakshmi3912 ปีที่แล้ว

    Thanks mam ❤️,lots of love from Andhra Pradesh 🔥

  • @suryakantpatel7793
    @suryakantpatel7793 3 ปีที่แล้ว +4

    very useful ma'am aap ka lecture

  • @AkashDeep-md6jd
    @AkashDeep-md6jd 6 หลายเดือนก่อน

    Think of it is as a ROAD ADDRESS SIGNS:
    [ it points at a certain direction which leads to the ADDRESS of that house which it contains ON ITS PLATE ]

  • @prateekverma5696
    @prateekverma5696 2 ปีที่แล้ว

    best teacher ever . thankyou mam

  • @raidon5553
    @raidon5553 ปีที่แล้ว

    Ladies teachers are like mother becaz they teach student like their children..😊😊

  • @computer__sci
    @computer__sci ปีที่แล้ว

    Pointer and recursion are very easy if you study from good teacher

  • @mohitbali8083
    @mohitbali8083 2 ปีที่แล้ว

    Thanku so much Ma'am.....i watch and follow your lectures to give my lecture in my class...... thanku and keep going .Mahadev bless u.

  • @Anjali-xn8ru
    @Anjali-xn8ru 7 หลายเดือนก่อน +9

    Mam you didn't tell ... what's the need of pointers ??

  • @ranjithpedagoni1961
    @ranjithpedagoni1961 3 ปีที่แล้ว +2

    Your looks are killing mee😍😍😍😍

  • @smohammedmosin5196
    @smohammedmosin5196 2 ปีที่แล้ว

    mam i thank you
    from my bottom of my heart
    from you r class i have understood bit level to byte level :)

  • @lifemalayalamyoutube7192
    @lifemalayalamyoutube7192 4 หลายเดือนก่อน

    Thank you so much dear sister❤️you are an angel send by Ma Saraswathy❤️🙏🏾

  • @kwameanati
    @kwameanati ปีที่แล้ว +1

    *ptr = &x is wrong because of difference in data type.
    *ptr = &a is correct because of same data type which is int.

  • @harshavardhan184
    @harshavardhan184 2 ปีที่แล้ว +1

    You deserve 1M subscribers!! Hope soon mam.

  • @street967
    @street967 ปีที่แล้ว

    Mam you are giving great life for so many and you clearing our doubts in just few minutes and it is the easiest way I ever heard And finallyplease upload a video about your family and house

  • @amitaryan495
    @amitaryan495 ปีที่แล้ว

    #include
    int main() {
    float x, y;
    int a, *intPtr;
    float *floatPtr;
    floatPtr = &x;
    printf("%p", floatPtr);
    intPtr = &a;
    printf("%p", intPtr);
    return 0;
    }
    However, there is a type mismatch in the pointer assignments. The pointer ptr is declared as an int pointer (int *ptr;), but it is assigned the address of a float variable (x) and then the address of an int variable (a). This can lead to unexpected behavior because the pointer type should match the type of the variable whose address it stores.

  • @BhanuprakshSasapu
    @BhanuprakshSasapu 11 หลายเดือนก่อน

    Mam suop explanation tqq mam for this type of explanation ❤️‍🔥❤️‍🔥

  • @zahidkarim7440
    @zahidkarim7440 2 ปีที่แล้ว

    Thanks madam beautiful explanation I like your teaching style

  • @humayonnasir4797
    @humayonnasir4797 ปีที่แล้ว +2

    Love you ma'am, Beauty with brain

  • @mdparvezquraishi8412
    @mdparvezquraishi8412 3 ปีที่แล้ว +1

    Shukriya MAM!

  • @enishettysharanya433
    @enishettysharanya433 2 ปีที่แล้ว

    Mam ur teaching is too gud I really love but I want to give one feedback pls smile and teach so that we will get lot of interest and we get what u teach very easily thankyou

  • @nishantpandey6421
    @nishantpandey6421 10 หลายเดือนก่อน +1

    mam float x will be incorrect bcz pointer will access only those values which is integer type
    and thank u mam for this amazing vdo

  • @jihan6780
    @jihan6780 2 ปีที่แล้ว

    Not gonna lie my prof is really good too, but for some reason it only clicks with me when you explain it like that.
    Thank you so much.

  • @lavanyarangareddy2105
    @lavanyarangareddy2105 2 ปีที่แล้ว +2

    Iam finally understanding pointer thank a lot mam ❤️

  • @nanilkumar5625
    @nanilkumar5625 ปีที่แล้ว

    Tnq so much for clear explanation with a single point👏

  • @atulkumar1635
    @atulkumar1635 2 ปีที่แล้ว

    I love you MAM , I want to learn C language from you in my whole life

  • @creatorpanel3230
    @creatorpanel3230 3 ปีที่แล้ว +1

    15:27 mam is going to deepdown thinking 😅😅

  • @theblackelephant
    @theblackelephant 2 ปีที่แล้ว

    Hey Jenny thanks a lot for great videos. Programmers from South Sudan love you.😍🥰😍🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰😃😃😃

  • @blobestanoh
    @blobestanoh 2 ปีที่แล้ว

    You explin the concepts very well madam

  • @pravinbirajdar3555
    @pravinbirajdar3555 3 ปีที่แล้ว +1

    Once again thnx mam see in this pointer sessoin so i come to increase incourage to I feel

  • @arunkhilari7011
    @arunkhilari7011 ปีที่แล้ว

    Thank you sister for the beautiful explanation of pointer.