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

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • correction: size of pointer is 4 bytes on 32bit machine
    In this lecture we will discuss a C program to convert a string from upper case to lower case with strlwr() and without strlwr() function.
    Best C Programming Tutorials: • Programming in C
    *********************************************
    Connect & Contact Me:
    Jenny's Lecture Hindi: / @jennyslectureshindi
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    Telegram Group Link: Jenny's Lectures
    telegram.me/je...
    *******************************************
    More Playlists:
    Programming in C Tutorials: • Programming in C
    C++ Tutorials for beginners: • Lec 1: How to Install ...
    Printing Pattern in C: • Printing Pattern Progr...
    Best Python Tutorials for Beginners: • Python - Basic to Advance
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Dynamic Programming: • Dynamic Programming
    Operating Systems tutorials: // • Operating Systems
    DBMS Tutorials: • DBMS (Database Managem...
    Tags:
    strings, string in c, what is string, c programming tutorials, c programming, best c programming tutorials, coding exercise, coding exercise on strings
    #coding #strings #jennyslectures #cprogramming #clanguage

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

  • @ankan7193
    @ankan7193 Год назад +657

    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

  • @l.lawliet4636
    @l.lawliet4636 2 года назад +633

    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 года назад +25

      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 года назад +13

      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 Год назад +8

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

  • @coltenpulis6679
    @coltenpulis6679 2 года назад +44

    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

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

    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 года назад +1

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

    • @madhavan.1209
      @madhavan.1209 2 года назад +3

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

    • @nasimkazi-hj8hi
      @nasimkazi-hj8hi 8 дней назад

      Fghhhv

  • @angelevergreen999
    @angelevergreen999 2 года назад +34

    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

  • @pavanyegireddy6957
    @pavanyegireddy6957 Год назад +9

    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

  • @swetachaudhary9220
    @swetachaudhary9220 2 года назад +158

    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 11 месяцев назад +1

      ​@@yashyash1181lob means ?

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

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

  • @devalsrivastava3793
    @devalsrivastava3793 2 года назад +42

    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. 🙏

  • @apudas7
    @apudas7 Год назад +52

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

  • @usamatariq4222
    @usamatariq4222 3 года назад +19

    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

  • @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 .

  • @vaibhavsinhbihola1
    @vaibhavsinhbihola1 3 года назад +44

    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

  • @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 👍🏼👍🏼

  • @_MdJihadulAbedin
    @_MdJihadulAbedin 3 года назад +18

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

  • @shrutichauhan4935
    @shrutichauhan4935 2 года назад +9

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

  • @saifullahsiddiquei2851
    @saifullahsiddiquei2851 Год назад +9

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

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

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

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

    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.

  • @Rdrudra07
    @Rdrudra07 3 года назад +16

    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...

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

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

  • @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

  • @ramgupta4535
    @ramgupta4535 Год назад +4

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

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

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

  • @bhabanisankarbehera4303
    @bhabanisankarbehera4303 3 года назад +5

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

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

    your way of teaching is simple and good .

  • @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 ❤

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

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

  • @easymalayali4310
    @easymalayali4310 3 года назад +5

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

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

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

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

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

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

    ye kitni awesome hai yarr💙💙💙

  • @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🤩🤗☺

  • @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 ❤❤❤

  • @ApplyIT2021
    @ApplyIT2021 2 года назад +11

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

  • @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

  • @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.

  • @maryannemuthoni5388
    @maryannemuthoni5388 8 месяцев назад +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.

  • @suvashreepriyadarshinibisw8017

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

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

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

  • @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.

  • @abdullahkhan-rp1ze
    @abdullahkhan-rp1ze Год назад

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

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

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

  • @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

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

    Thanks mam it helps me a lot for learning c language

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

    Your teaching skills are superb madam 😊

  • @saptarshimajumder5168
    @saptarshimajumder5168 3 года назад +10

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

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

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

  • @suryakantpatel7793
    @suryakantpatel7793 3 года назад +4

    very useful ma'am aap ka lecture

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

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

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

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

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

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

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

    The right channel to subscribe to

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

    100 times better than my own teacher at college

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

    Love you ma'am, Beauty with brain

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

    Dear Madam, I appreciate you. 🤩

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

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

  • @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 :)

  • @nishantpandey6421
    @nishantpandey6421 9 месяцев назад +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

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

    Thanks madam beautiful explanation I like your teaching style

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

    I am finally understanding pointers, THANK 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

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

    best teacher ever . thankyou mam

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

    Your way of teaching as awesome as you are

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

    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

  • @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

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

    Your looks are killing mee😍😍😍😍

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

    You explin the concepts very well madam

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

    Thanks I cover all of my doubts by seeing your videos

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

    You deserve 1M subscribers!! Hope soon mam.

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

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

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

    Tnq so much for clear explanation with a single point👏

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

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

  • @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.

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

    Thank you sister for the beautiful explanation of pointer.

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

    You are amazing mam ! your lesson is more helpful for me

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

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

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

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

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

    Good to see you back madam

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

    Thank you ma'am. This video is really helpful.keep doing it .😊

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

    Iam finally understanding pointer thank a lot 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

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

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

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

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

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

    Very good teaching.well done. Keep it up

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

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

  • @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.

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

    Finished all your playlist in C programming. can you upload more on pointers soon plz. Thank you 🙏

  • @Quizwhiz-official
    @Quizwhiz-official Год назад

    Seriously it's very helpful thanks ❤

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

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

  • @Anjali-xn8ru
    @Anjali-xn8ru 5 месяцев назад +6

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

  • @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

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

    Pointer is of the type int. That mean it can only store the address of the variable of type int. So ptr= &a; is correct.it cannot store address of the variable of type float.So ptr=&x;
    Is wrong becoz x Is float type..

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

    Love you teaching mam

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

    Kitni awesome hai ywr💜

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

    Most awaited video

  • @MAROUANEMAROUANE-zb9gg
    @MAROUANEMAROUANE-zb9gg 10 месяцев назад

    i love this lady thank you so much

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

    thank you, amazing teacher and teaching method.
    😍

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

    Thank you so much for your explanation ❤️ I'm full clear about a pointers...coz your explanation 😊

  • @KarthikKarthik7997.
    @KarthikKarthik7997. 2 года назад

    Thanku mam very usefull us exam seeing with ur video iam pass in exam ❤️___