C_74 Pointers in C- part 4 | Pointer to Pointer (Double Pointer)

  Рет қаралды 278,303

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 261
@harshuharu4987
@harshuharu4987 Жыл бұрын
Jenny u have no idea how ur really helping students those who are struggling to learn coding and those who likes to learn coding but not fond of it ( cause of lack of patience n logical thinking ) ur giving confidence Jenny ... Thank you sooooo much love from Karnataka ... God bless u with all u want ... ❤️
@deekshithu8979
@deekshithu8979 Жыл бұрын
Am Also bro
@abbu_ka_rabbu
@abbu_ka_rabbu Жыл бұрын
phir bhi heart nahi mila...😄😄
@TENALI-STUDIOS
@TENALI-STUDIOS 5 ай бұрын
Ye it's true
@yashhokte1020
@yashhokte1020 3 жыл бұрын
***(r) = 50 As, last * is used for showing that we had declared the pointer and second last * is used to point the address in q and third last * is used to point the address in p and the first * is showing that r stores the address of that variable is in int data type...so if we have to change the value stored in a from 25 to 50 simply we have to write : ***(r) = 50 then 50 will points to a and will assign to a and replace to 25 .... Thnku so much mam for ur such a great efforts :)
@shrutikeshri9634
@shrutikeshri9634 3 жыл бұрын
Isn't it illegal?
@yashhokte1020
@yashhokte1020 3 жыл бұрын
@@shrutikeshri9634 nah !!!
@prashanthg1605
@prashanthg1605 2 жыл бұрын
**(*r)=50 is crt we can go like this .
@Rishithabajjuri
@Rishithabajjuri 2 жыл бұрын
ya bro even i have done the same thing
@unifystudios7171
@unifystudios7171 2 жыл бұрын
we can also go like this ***r=50 is correct and not illegal. Even if we want to use it in a printf statement we can go like this ("statements %d ", *(*(*r))) or ("Statements %d ", ***r) Both are correct and not illegal
@crazyloveever2462
@crazyloveever2462 3 жыл бұрын
Mam if you teach programming to non IT students they will also love to learn programming language. Becz ur Xplanations are perfect simply ur awesome mam❤❤luv from Tamilnadu
@jackthomas5424
@jackthomas5424 2 жыл бұрын
Bhai sahab kuch jayda hi bol diya 😂
@crazyloveever2462
@crazyloveever2462 2 жыл бұрын
@@jackthomas5424 I don't know hindhi bro
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
@@jackthomas5424 Nahi kuch zyada nahi bola unho ne bilkul theek kaha unho ne
@Chris-vt6nl
@Chris-vt6nl Жыл бұрын
@@jackthomas5424 zyada nahi sahi hi hai madam ithna acha explain karthi hai
@shivanshvish4879
@shivanshvish4879 Жыл бұрын
@@crazyloveever2462 Don't play Dravidian politics bro. We all are here to learn and study without politics of language.
@Vachu4
@Vachu4 3 жыл бұрын
The only English I can understand without subtitles. It's Jenny's English ❤️❤️
@sanketsahu2411
@sanketsahu2411 3 жыл бұрын
Right bro
@rguktupdates6476
@rguktupdates6476 3 жыл бұрын
Mee to bro
@devuyogi5764
@devuyogi5764 3 жыл бұрын
🤗👍
@Soundar250278
@Soundar250278 2 жыл бұрын
Excellent teaching Mam, i saw many videos about double pointers but it was very abstract, your teaching covers in depth about the double pointers. Thank you for such a wonderful video.
@Ravi.krsingh
@Ravi.krsingh 2 жыл бұрын
q is pointing to P which value is 1000, now we store 25 in place of 1000 then 25 is the value of no any variable.then it may be error. 🙏. t=17:10
@limitess9539
@limitess9539 2 жыл бұрын
true, it's error, pointer accepts only adresses as value, rejects anything else it's like trying to write int a='a'; same shit
@binuraliyanage8191
@binuraliyanage8191 10 ай бұрын
I watched a lot of videos but I didn't understand how to do cording so I decided to drop computer science from my three subject combinations but finally I found your videos that can be lighting my life,thank you madam god bless you ❤️❤️
@gujjuopgohil4796
@gujjuopgohil4796 Жыл бұрын
18:18 R is a third level pointer so if we want to change value of a= 10 to a= 50 so we need three level pointer so we can write int * * * r = 50 ;
@sushilgbp
@sushilgbp Жыл бұрын
17:09 in case of q it will wrong but in case of p . it will right. int main() { int a =10; int *p =&a; *p = 25; printf("a = %d",a); } a = 25
@dijangala
@dijangala 2 жыл бұрын
Love from Nigeria, your explanations have saved me fr❤️
@popularpj5112
@popularpj5112 3 жыл бұрын
OMG! after 4yrs i know the exactly meaning of pointer
@fountain9886
@fountain9886 Жыл бұрын
hhhhh
@chinweokwugiftchiedozie1587
@chinweokwugiftchiedozie1587 Жыл бұрын
***r = 50 This would change the value of int a. Thanks ma'am
@soccerworld9938
@soccerworld9938 3 жыл бұрын
My Score out of 💯 is 200/💯 Just one word madam "MIND BLOWING" 👌👌 madam found great in last 3 lectures madam and this is for what iam fighting for Madem and keep going madam with more MIND BLOWING Lectures Madam........ God bless You madam Thank you mam Jai hind madam
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@dipsaha1472
@dipsaha1472 3 жыл бұрын
18:18 ***r=50 //it will change int a 10 to 50 then printf("a=%d",***r);
@GurdeepSingh-ok2rm
@GurdeepSingh-ok2rm 2 жыл бұрын
Kase kita But print value a is not change
@GurdeepSingh-ok2rm
@GurdeepSingh-ok2rm 2 жыл бұрын
But ho ni heha error aa raha hai
@CinepolaApurba
@CinepolaApurba 2 жыл бұрын
Use 'Alt+mouse Left click' It make multiple cursor and it is easy to Edit, Rewrite or Delete multiple values at a same time .... Like you want to add ' ' in multiple lines You can click Alt+left mouse button....
@vivek5807
@vivek5807 2 жыл бұрын
I don’t get it …will this work In code blocks
@funchannel9330
@funchannel9330 2 жыл бұрын
@@vivek5807 no, it is only work in vs code
@PaulElon
@PaulElon 4 ай бұрын
Good work may God bless u and keep given u more wisdom❤❤❤❤❤❤❤❤❤🙏🙏🙏🙏🙏🙏🙏
@sheikhstudios7
@sheikhstudios7 Жыл бұрын
Thank you mam.Your teaching skills awesome mam ❤️luv from Kolkata .
@cherrycherith2464
@cherrycherith2464 3 жыл бұрын
The Best Teachers Teach From Heart Not From BookS 💘🧡
@vaibhavsinhbihola1
@vaibhavsinhbihola1 3 жыл бұрын
18:24 ***r = 50
@abhisheksahgamerz4138
@abhisheksahgamerz4138 3 жыл бұрын
You are the best cs teacher mam❤
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@melthabah1158
@melthabah1158 3 жыл бұрын
Thank you so much mam your teaching skill is amazing mam...
@devSackey
@devSackey Жыл бұрын
You made is so simply that i can look at the question and without thinking the answer is ***r = 50; thanks mum
@bawaabdulsilas3681
@bawaabdulsilas3681 Жыл бұрын
Ok, remember that "q" is two level pointer so therefore *q = 25; points to p which also is a pointer and it contains the address of a variable "a", therefore the statement *q = 25 will lead to an error by the compiler.
@angelomerwin.m9561
@angelomerwin.m9561 Жыл бұрын
so that means we should use *(*q)=25; to store the value in p,which will ultimately be stores in a as a=25; Am i right sirr
@qtime69lol17
@qtime69lol17 Жыл бұрын
@@angelomerwin.m9561 Yes, you are right.
@satishpaul8055
@satishpaul8055 Жыл бұрын
Very, very thank you, maam, for this amazing explanation. I watched so many videos before it and read a book also, but I was unable to visualise the concept of it until you explained it very well.
@mr-pm9eg
@mr-pm9eg 3 жыл бұрын
Mam great pura dil se clearity a he nhi rha tha... Bs ek baar dekha bs khtm... Great👍
@Sunil-zo3bh
@Sunil-zo3bh 5 ай бұрын
Love your teaching.
@aniketmishra5581
@aniketmishra5581 2 жыл бұрын
Mam you are a best teacher 🙂
@Raam1827
@Raam1827 Жыл бұрын
I think printing address of any variable correct format specifier is %p.... %x is format specifier for unsigned hexa decimal as of my knowledge
@maryannemuthoni5388
@maryannemuthoni5388 11 ай бұрын
To change value of a to 50 with r: #include int main(void) { int a = 10; int *p = &a; int **q = &p; int ***r = &q; ***r = 50; printf("%d", a); }
@sarthakvarshney3830
@sarthakvarshney3830 3 жыл бұрын
Mam u are the best teacher ever ✨
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@namyashah3173
@namyashah3173 2 жыл бұрын
Its true
@debojitacharjee
@debojitacharjee 2 жыл бұрын
*BUT YOU DIDN'T TELL WHERE AND WHY DOUBLE POINTER IS USED* - it is used to reduce exesive writing of code and also for the dereferencing of data values of a function which is outside another function. Just like a function calling another function.
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
You're right.
@meesalaharathi
@meesalaharathi 29 күн бұрын
Thank you mam u are helping so much
@ArushAnand-el5bu
@ArushAnand-el5bu Ай бұрын
I love your teaching method mam.You should try some hindi words ,so we all understand it clearly because hindi is our emotions. Bina hindi ke kuch aadhura lag rha tha bas .Otherwise I felt that all my doubt get clear .❤❤❤❤❤
@anwar6971
@anwar6971 Жыл бұрын
Man, you explained very well about double pointers.
@rajendraverma08
@rajendraverma08 2 жыл бұрын
Ayeee haayee haayee maja agaya mam pura smj aya very easy
@bawaabdulsilas3681
@bawaabdulsilas3681 Жыл бұрын
To change the value at variable "a" which is already storing 25 using a three level pointer we simply do this... ***r = 50 or *(*(*r)) = 50; This obviously should work
@sukanyakolvekar2203
@sukanyakolvekar2203 3 жыл бұрын
u r 1 of d best teacher.....i m in turu lob with u.....diiie
@khushisinghi5932
@khushisinghi5932 3 ай бұрын
thanks alot mam ur videos r so easy to understand love u mam
@ankitanand4101
@ankitanand4101 12 күн бұрын
Well explained!:)
@someoneyouIoved
@someoneyouIoved Ай бұрын
greetings from turkıye maam u are the best
@rdcoders
@rdcoders Жыл бұрын
Ma'am You are providing very helpful videos thank you so much and love you Ma'am 🤗🙏
@jamilshakil3798
@jamilshakil3798 2 жыл бұрын
very useful for me thank you love from bangladesh
@vickyvignesh3844
@vickyvignesh3844 3 жыл бұрын
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.Thank you mam.
@BhuvanTotad-kx7lo
@BhuvanTotad-kx7lo 10 ай бұрын
it is a legal pointer
@CHANDANKUMAR-bc7qk
@CHANDANKUMAR-bc7qk 3 жыл бұрын
Mam waiting for the C++ lectures,,, please start it 🙏
@shivambharti4643
@shivambharti4643 3 жыл бұрын
Also waiting
@sangramswain5888
@sangramswain5888 3 жыл бұрын
Its similar as C programming there is only difference is OOPS concept
@sangramswain5888
@sangramswain5888 3 жыл бұрын
@@ashikillahi6219 No it's neither difficult nor easy you have to practice everyday the problem of C++
@sangramswain5888
@sangramswain5888 3 жыл бұрын
@@ashikillahi6219 In my opinion go through python & start DSA also
@SravanKumar-uc6qt
@SravanKumar-uc6qt 3 жыл бұрын
Nice introducing, so help full this programm
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@rahamatshaikh9899
@rahamatshaikh9899 3 жыл бұрын
Thank you so much mam its grateful to me that I am get one of the best teacher forever. you have clear my doubt on this topic. I am gonna to complete this c language tutorials. 🤗
@MehendiByPooja
@MehendiByPooja Жыл бұрын
18:03 ***r=50. Printf("a=%d",***r)
@IsrarkhanAa
@IsrarkhanAa 20 күн бұрын
MASHALLAH good❤
@suryakantpatel7793
@suryakantpatel7793 3 жыл бұрын
thanku maam ap ka video very useful hai
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@tirthtanna7771
@tirthtanna7771 3 жыл бұрын
it will give error as it is a single type pointer and that pointer is not storing address of any variable, it is totally blank
@reaper1711
@reaper1711 9 ай бұрын
Shouldn't *q = 25 change the value of 850 to 25 because we're accessing the value of q variable and updating it to 25.
@fuadhamedmohamed4311
@fuadhamedmohamed4311 2 жыл бұрын
18:08 we can update ( a ) using ( r ) like this ***r=50 ;
@Sunil-zo3bh
@Sunil-zo3bh 5 ай бұрын
While writting 850 expression was great😂
@gtechninja
@gtechninja 2 жыл бұрын
thank you mom!. but what if we have: char a[ ] = "123456789"; or char *str = "123456789"; how do i relate double pointer what u teach us with char array and char pointer. thank you again.
@lingarajsatapathy8362
@lingarajsatapathy8362 2 жыл бұрын
Outstanding teaching mam🙏
@GalaxyCookies76
@GalaxyCookies76 2 жыл бұрын
😂 I like that Door kay Rishtaydaar
@sunandamallick4310
@sunandamallick4310 3 жыл бұрын
Best video i have ever seen ❤️
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@PaulElon
@PaulElon 4 ай бұрын
int a=20; int*p=&a; int**b=&p; int***y=&b; *p=8; cout
@FastPaced_Dreamer
@FastPaced_Dreamer 3 жыл бұрын
Everyone loves to listen ur classes
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@gayatriborade9556
@gayatriborade9556 3 жыл бұрын
You are really Great Ma'am😀😀
@meghasinha1706
@meghasinha1706 3 жыл бұрын
Thanks for your efforts mam
@star77670
@star77670 2 жыл бұрын
Ma'am thank you so much 💓 💗 💛 💖
@AnilYadav-qn3ch
@AnilYadav-qn3ch 2 жыл бұрын
mam i am your regular student ❣❣❣❣
@jackbhai-j8u
@jackbhai-j8u 10 ай бұрын
Mam, u told that in double pointer- pointer q is going to show level or what it is mam ? Mam pls tell
@syagamreddysrilakshmi6707
@syagamreddysrilakshmi6707 2 жыл бұрын
Hi, int main() { char **str; str=(char**)malloc(sizeof(*str)); scanf("%s",str); printf("string is %s", &(*str)); free(str); } is it correct way of writing?
@yashmali5291
@yashmali5291 Жыл бұрын
Nice teaching and explanation
@vasusharma6210
@vasusharma6210 2 жыл бұрын
Door de Rishtedar.. from Punjab 'Jalandhar'.
@lucy2003-d8p
@lucy2003-d8p 3 жыл бұрын
Respect only😍🔥
@abhisheshgaur8400
@abhisheshgaur8400 3 жыл бұрын
nice lecture mam , thanks love you so much mam
@gauravbutle2429
@gauravbutle2429 2 жыл бұрын
why we use pointer to store memory? we can simply store with simple variable.
@python-2023
@python-2023 3 жыл бұрын
We like your channel we learn alot of about c programme. But one thing some of your videos don't have subtitles, Because some foreign watch the video your English language pronunciation is a little different with us we can't get completely concept of lecture without subtitles. Thank you
@inamulsha
@inamulsha 2 жыл бұрын
Sometimes she used Hindi word also 😄😄
@Logan-ig7sm
@Logan-ig7sm Жыл бұрын
16:20 we get the same output mam
@zabihullah4251
@zabihullah4251 3 жыл бұрын
Veryb eautiful teacher with best lecture. So nice.
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@gujjuopgohil4796
@gujjuopgohil4796 Жыл бұрын
*q = 25 is illigal because p= 1000 and its storing address of a so we ultimate brack the points so it's definitely not possible
@rishikeshayre
@rishikeshayre Жыл бұрын
Good explanation but can you explain where we would use double pointer , whats the application of it
@Akeshma
@Akeshma 2 жыл бұрын
Thanks ... but the question is why we need to use pointers instead of just variables ?
@hanifhoney9490
@hanifhoney9490 3 жыл бұрын
Mam mujhe September 1st ko exam hai tab tak hojayega na programming in c ?
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@mr_jagan9233
@mr_jagan9233 3 жыл бұрын
Love u soo much😘😘😘😘💖
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@prashanthmadishetti9591
@prashanthmadishetti9591 3 жыл бұрын
Do Python and SQL videos 😇
@mihirgopani8315
@mihirgopani8315 3 жыл бұрын
I know this topic because i am bca student just come to see you 😛
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@TeleProgramming
@TeleProgramming 2 жыл бұрын
Mam pls use the markers of 2 different colour.
@jackbhai-j8u
@jackbhai-j8u 10 ай бұрын
By ****r=50, we can change the value of a to 50
@kishorhr1100
@kishorhr1100 Жыл бұрын
what is use of pointer to pointer
@franklinekiptoo7359
@franklinekiptoo7359 2 жыл бұрын
Much love from Kenya
@subhanuddinsubhan699
@subhanuddinsubhan699 3 жыл бұрын
Mam ap ne INTRODUCTION OF DBMS ke lacture me kahi thi k hum c program ke zarrye file ko access kar sakte he . Pls is per b aik vedio hu jaye
@shamshadansari6430
@shamshadansari6430 3 жыл бұрын
Ma'am please start c++ after c in sequence
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@abhishekgmabhi8326
@abhishekgmabhi8326 2 жыл бұрын
mam ,which software are u using to execute programs?
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
VS code for compilation
@IbrahimADT
@IbrahimADT Жыл бұрын
Thanks enjoying it
@dvs_barot
@dvs_barot 3 жыл бұрын
When complete c programing... ?? How many videos left of c programing... And... How many days left ?? Mam !
@naveenkanireddy8647
@naveenkanireddy8647 Жыл бұрын
Thanks for the content mam. can we assign any value to a pointer variable like any value in memory? we are always assigning address of a variable
@Helly04
@Helly04 Жыл бұрын
POINTER CAN ONLY N ONLY STORE ADDRESS OF ANY VARIABLE. (& nothing else)
@tejasgiri1650
@tejasgiri1650 3 жыл бұрын
02:34 video starts
@tesloachriekchol9041
@tesloachriekchol9041 2 жыл бұрын
I like your teaching forsooth
@riddhi_edits
@riddhi_edits Жыл бұрын
Thank u so much mam💜
@sudha7524
@sudha7524 3 жыл бұрын
Today I wrote an exam this question was came but I didn't wrote well because I don't know the concept of pointer to pounter
@computer5548
@computer5548 3 жыл бұрын
kzbin.info/www/bejne/jHyudqWenc5ln68
@jackbhai-j8u
@jackbhai-j8u 10 ай бұрын
*q=25 is illegal mam, as we haven't initialized *q instead we have intilizied **q, so it is illegal mam
@hariparuchuru3858
@hariparuchuru3858 2 жыл бұрын
if we assign ***r=50; then the value of variable cant be changed to 50.
@limitess9539
@limitess9539 2 жыл бұрын
no it works 100% #include void change_via_function(int *****f); int main() { int varijabla=10,*a,**b,***c,****d,*****e; a=&varijabla,b=&a,c=&b,d=&c,e=&d; *****e=50; printf("Value of *****e is %d (should be 50) ",*****e); change_via_function(&d); printf("Value of *****e after calling function is %d (should be 35) ",*****e); return 0; } void change_via_function(int *****f) { *****f=35; } the *****e part works fine, just don't forget a single star or bad things will happen (aka error for accessing illegal memory part and program doesn't work)
@beneelohimhub
@beneelohimhub Жыл бұрын
if *q = 25, it will return invalid
@theenglishspeaker827
@theenglishspeaker827 2 жыл бұрын
up to how many levels we can declare a pointer ?
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
This is called levels of pointers. According to ANSI C, each compiler must have at least 12 levels of pointers. This means we can use 12 * symbols with a variable name. Level of pointers or say chain can go up to N level depending upon the memory size.
@paras73164
@paras73164 Жыл бұрын
Aap jesi teacher college mai ho to 100% attendance karne mai kya problem ❤
C_75 Pointers in C-part 5 | Pointer Arithmetic (Addition) with program
23:18
Jenny's Lectures CS IT
Рет қаралды 247 М.
C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials
17:02
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
C_87 Functions in C- part 4 |Call by Value & Call by Reference in C
25:49
Jenny's Lectures CS IT
Рет қаралды 368 М.
Making an Algorithm Faster
30:08
NeetCodeIO
Рет қаралды 182 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 844 М.
C_101 Function Pointers in C | Pointer to Function | C Programming Tutorials
18:04
Jenny's Lectures CS IT
Рет қаралды 146 М.
Hardy's Integral
13:47
Michael Penn
Рет қаралды 5 М.
you will never ask about pointers again after watching this video
8:03
Pointers to Pointers in C/C++
9:21
mycodeschool
Рет қаралды 544 М.
C_76 Pointers in C- part 6 | Pointer Arithmetic (Subtraction) with program
17:48
Jenny's Lectures CS IT
Рет қаралды 175 М.
why do void* pointers even exist?
8:17
Low Level
Рет қаралды 398 М.