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

Поділитися
Вставка
  • Опубліковано 8 сер 2021
  • 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/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    Telegram Group Link: Jenny's Lectures
    telegram.me/jennyslectures
    *******************************************
    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

КОМЕНТАРІ • 525

  • @ankan7193
    @ankan7193 Рік тому +584

    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 Рік тому +582

    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 Рік тому +24

      but buddy float datatype can accept both int and float values

    • @l.lawliet4636
      @l.lawliet4636 Рік тому +27

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

    • @tsmxgaming3126
      @tsmxgaming3126 Рік тому +10

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

    • @ankulgesarvesh18
      @ankulgesarvesh18 Рік тому +4

      @@l.lawliet4636 ohoo okay

    • @miraclinakshaya1105
      @miraclinakshaya1105 Рік тому +7

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

  • @coltenpulis6679
    @coltenpulis6679 Рік тому +37

    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 2 роки тому +124

    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 Рік тому +1

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

    • @madhavan.1209
      @madhavan.1209 Рік тому +2

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

  • @angelevergreen999
    @angelevergreen999 Рік тому +32

    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 Рік тому +7

    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 роки тому +156

    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 7 місяців тому +1

      ​@@yashyash1181lob means ?

    • @yashyash1181
      @yashyash1181 7 місяців тому

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

  • @devalsrivastava3793
    @devalsrivastava3793 2 роки тому +41

    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 Рік тому +48

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

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

  • @Rupank_Sahu
    @Rupank_Sahu Рік тому +16

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

  • @shrutichauhan4935
    @shrutichauhan4935 2 роки тому +9

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

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

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

  • @macdaveedgolden7890
    @macdaveedgolden7890 9 місяців тому +1

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

  • @usamatariq4222
    @usamatariq4222 2 роки тому +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

  • @abdulrahimjalloh363
    @abdulrahimjalloh363 11 місяців тому

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

  • @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 (*)

  • @ramgupta4535
    @ramgupta4535 Рік тому +4

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

  • @bhabanisankarbehera4303
    @bhabanisankarbehera4303 2 роки тому +5

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

  • @kiko7247
    @kiko7247 2 роки тому +2

    I am finally understanding pointers, THANK YOU!!

  • @vaibhavsinhbihola1
    @vaibhavsinhbihola1 2 роки тому +43

    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

  • @chidiebereemereuwa9306
    @chidiebereemereuwa9306 7 місяців тому +1

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

  • @shawaz3828
    @shawaz3828 2 роки тому +2

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

  • @vickyvignesh3844
    @vickyvignesh3844 2 роки тому +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.

  • @aarn3932
    @aarn3932 Рік тому +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

  • @saifullahsiddiquei2851
    @saifullahsiddiquei2851 Рік тому +9

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

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

    Thank you ma'am so much for such wonderful and well-informative videos, keep it up...

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

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

  • @ShekhAbrar822
    @ShekhAbrar822 2 місяці тому

    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❣️

  • @rakurame6990
    @rakurame6990 2 роки тому +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.

  • @saptarshimajumder5168
    @saptarshimajumder5168 2 роки тому +10

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

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

    Thanks I cover all of my doubts by seeing your videos

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

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

  • @DarshanKumarTV-ur8tw
    @DarshanKumarTV-ur8tw 9 місяців тому

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

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

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

  • @mudassarsiddiqui4112
    @mudassarsiddiqui4112 2 роки тому +6

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

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

    Your way of teaching as awesome as you are

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

    Great explanation 🤩
    Thank you so much

  • @user-sb2el5ck7n
    @user-sb2el5ck7n Рік тому +1

    Your teaching skills are superb madam 😊

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

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

  • @shraddhapawar5674
    @shraddhapawar5674 2 роки тому +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.

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

    Thank you ma'am. This video is really helpful.keep doing it.and we wiilll keep suppoting you .

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

    Very good teaching.well done. Keep it up

  • @lavanyarangareddy2105
    @lavanyarangareddy2105 2 роки тому +2

    Iam finally understanding pointer thank a lot mam ❤️

  • @unique_658
    @unique_658 Місяць тому

    your way of teaching is simple and good .

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

    i got very basics of pointers by help of this video mam .thank you

  • @coder4116
    @coder4116 2 роки тому +2

    Thanks mam it helps me a lot for learning c language

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

    You deserve 1M subscribers!! Hope soon mam.

  • @easymalayali4310
    @easymalayali4310 2 роки тому +5

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

  • @riya8098
    @riya8098 11 місяців тому

    Thank you so much mam ❤️
    Your teaching skills are amazing👏

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

    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.

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

    you are a great teacher .
    thank you so much .
    all the beast.

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

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

  • @Computer9911
    @Computer9911 3 місяці тому

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

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

    Tnq so much for clear explanation with a single point👏

  • @dazaisan6697
    @dazaisan6697 Рік тому +2

    100 times better than my own teacher at college

  • @Anjali-xn8ru
    @Anjali-xn8ru 2 місяці тому +4

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

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

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

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

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

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

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

  • @bestsongs248
    @bestsongs248 2 роки тому +2

    ye kitni awesome hai yarr💙💙💙

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

    thank you, amazing teacher and teaching method.
    😍

  • @thedevelopersjourney57
    @thedevelopersjourney57 2 роки тому +5

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

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

    You're an amazing teacher!

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

    You explin the concepts very well madam

  • @suvashreepriyadarshinibisw8017

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

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

    Thank you sister for the beautiful explanation of pointer.

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

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

  • @rosonerri-faithful
    @rosonerri-faithful 2 роки тому +30

    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

  • @abdullahkhan-rp1ze
    @abdullahkhan-rp1ze 11 місяців тому

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

  • @Rdrudra07
    @Rdrudra07 2 роки тому +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...

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

    Thank you so much mam for this wonderful lecture.....;)

  • @humayonnasir4797
    @humayonnasir4797 Рік тому +2

    Love you ma'am, Beauty with brain

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

    Thanks a lot Mam for this lecture!!!

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

    Thanks madam beautiful explanation I like your teaching style

  • @Quizwhiz-official
    @Quizwhiz-official 10 місяців тому

    Seriously it's very helpful thanks ❤

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

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

  • @Maths.Com_
    @Maths.Com_ 2 роки тому +2

    Mam Please make a Playlist For Gate 2022 CSE Topics.Its a request to you mam 🙏.

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

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

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

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

  • @tharinduhasarangarubasinsi7714
    @tharinduhasarangarubasinsi7714 2 місяці тому

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

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

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

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

    best teacher ever . thankyou mam

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

    Any best book u would recommend for c programming..WHICH COVERS theory and also programs mam?

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

    Thanks for a wonderful class

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

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

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

    Would that be a dangling pointer if we declare a variable after assignment of pointer to the address of that variable ??
    It would take the value whichever is newly assigned

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

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

  • @aminfamilycooking
    @aminfamilycooking Місяць тому

    You are so sweet and all tutorial easy to understand thanks ❤

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

    Thank you so much for the lectures.

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

    Thank you for your lectures on C programming language. At 11:19 int a = 10; int* p ; p = &a; these I assume correct. But at 14:18 int a = 10; * p = &a; I think it would be like *p = 10 as 'p' contains the address of 'a'.

  • @suryakantpatel7793
    @suryakantpatel7793 2 роки тому +4

    very useful ma'am aap ka lecture

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

    Most awaited video

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

    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

  • @MAROUANEMAROUANE-zb9gg
    @MAROUANEMAROUANE-zb9gg 6 місяців тому

    i love this lady thank you so much

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

    Great mam i really like your teaching skills you are the more intellegint from our university teachers😅