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
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
True
Exactly 😊
True
Yess😢
Totally agree 👍
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 )
but buddy float datatype can accept both int and float values
@@ankulgesarvesh18 that would be typecasting but in pointer... It's different
bro float x,y; is wrong because we want to initalize it with float*x,y
@@l.lawliet4636 ohoo okay
@@tsmxgaming3126 she is declaring a variable, not a pointer in the first line
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
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 💙
can we assign the same to both if the data type is same i mean one pointer to the address of two variables
@@shoppingpoint596 Add One More Pointer Variable Like Int *q;
@@mushua6060 not int . its must be a float *q because x varible is a float datatype
Fghhhv
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
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
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...😊😘❤
Jenny N Harry are
Lob😍😝
@@yashyash1181lob means ?
@@Nilsen111 it's means love, my feelings to express gratitude to them
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. 🙏
Please don't dislike mam's videos. She really works hard for us......
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
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 .
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
Is ptr=&a correct
Or *ptr=&a should correct
Mam.notes siguttha mam
Notes Madi kalsi mam
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 👍🏼👍🏼
Mam, the way of your teaching just awesome. Lots of love and respect for you Mam ❤️
Thanku mam to teach each and every concept in details .Your teaching level is so awesome 🥰🥰
Please make videos on c++ language your teaching experience is very good
Understood easily because of your clear and detailed explanation
U r much Better than our college faculties for whom we pay lakhs of fees
Tq mam for explaining in easy way love from tamilnadu❣️
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.
The information we are getting at zero cost is having more value than paying 🙃....... ❤
...... Thanks a lot mam...... for such great effort ❤💙💜
i am paying 90,000 rupees at coaching still have to watch this
@@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.
@@codeishard3182 per year no coaching is good youtube is best
@@Manan188 can you suggest a playlist for discrete math? I like Indian tutorials whether it's Hindi or Indian English...
Jenny man you are the best mentor and you did this topic very easly and good explan. 🤗🤗🤗
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
smart
Conclusion of this Video
'Jis Datatype ka Pointer usi datatype ko saajhe, duja kare to thenga 👍 baaje'
Thankyou Ma'am 🙏🙏
Hi mam i am very big fan of ur lectures and i am very happy to see u again
Tq..mam your teaching style is very good and easy also I was appreciated that video
your way of teaching is simple and good .
I have searched through the nuke and cranny of this space.. I can boastfully say that your tutorials are magical.. thanks ma’am ❤
Thanks Jenny!! God Bless you for me. These videos has really been helpful to me.
Big fan of your classes maam ❤️❤️❤️❤️
You are the best teacher for programming in the whole world. Thanks for your effort and free gift.
I Just cant listen your lecture by looking into your eyes 👀 👀 😍😍😍
ye kitni awesome hai yarr💙💙💙
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🤩🤗☺
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 ❤❤❤
Pointer is very useful. It is around two operators: memory address (&) and memory access (*)
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
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.
only 3rd ine is wrong
ruclips.net/channel/UCSKYbfIoFy85vxaLEvjUq8Q
@@shashanksp8020 yes
3 is wrong
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.
How clearly mam you can described I see many of RUclips channel but no one can explain like this
I am diploma student I get an idea about pointers thank u mam
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.
Thanks a lot , a student is taking ur lectures from Pakistan....
Thanks ma'am for your good video 📸 towards this pointers topic
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
Thanks mam it helps me a lot for learning c language
Your teaching skills are superb madam 😊
In physics honours 3rd year this chapter is in our syllabus. Old memories flash out . Like the video
Because of this Lecturer i passed my algorithms and data structure exam , good luck
very useful ma'am aap ka lecture
Jenny madam 🙏🙏🙏
Such a good explanation..
You are doing an excellent job 👍👍👍
Hm 😂
Thanks mam ❤️,lots of love from Andhra Pradesh 🔥
Glow of your teaching skills also reflects glow on your chiks🌟💯
The right channel to subscribe to
100 times better than my own teacher at college
Love you ma'am, Beauty with brain
Dear Madam, I appreciate you. 🤩
When I was a kid my sister also explains me like this thanks didi 😀
boomer
mam i thank you
from my bottom of my heart
from you r class i have understood bit level to byte level :)
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
Thanks madam beautiful explanation I like your teaching style
I am finally understanding pointers, THANK YOU!!
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
best teacher ever . thankyou mam
Your way of teaching as awesome as you are
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
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
Your looks are killing mee😍😍😍😍
You explin the concepts very well madam
Thanks I cover all of my doubts by seeing your videos
You deserve 1M subscribers!! Hope soon mam.
I love you MAM , I want to learn C language from you in my whole life
Tnq so much for clear explanation with a single point👏
Thank you so much dear sister❤️you are an angel send by Ma Saraswathy❤️🙏🏾
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.
Thank you sister for the beautiful explanation of pointer.
You are amazing mam ! your lesson is more helpful for me
Hey Jenny thanks a lot for great videos. Programmers from South Sudan love you.😍🥰😍🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰😃😃😃
Once again thnx mam see in this pointer sessoin so i come to increase incourage to I feel
Good to see you back madam
Thank you ma'am. This video is really helpful.keep doing it .😊
Iam finally understanding pointer thank a lot mam ❤️
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
ptr=&a is possible because a is int type and x is float type
Mam suop explanation tqq mam for this type of explanation ❤️🔥❤️🔥
Very good teaching.well done. Keep it up
1st line is wrong ,2nd line is correct......thank you mam to ease this concept for us.🙏🙏
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.
Finished all your playlist in C programming. can you upload more on pointers soon plz. Thank you 🙏
Seriously it's very helpful thanks ❤
Tq so much for your crystal clear explanation mam...
Ptr = &a is right other one is worng...
Mam you didn't tell ... what's the need of pointers ??
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
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..
Love you teaching mam
Kitni awesome hai ywr💜
Most awaited video
i love this lady thank you so much
thank you, amazing teacher and teaching method.
😍
Thank you so much for your explanation ❤️ I'm full clear about a pointers...coz your explanation 😊
Good👍
Hlo
Thanku mam very usefull us exam seeing with ur video iam pass in exam ❤️___