1.6 Pointers and 2-D Arrays | Two dimensional Array | Data Structures & Algorithm Tutorials

  Рет қаралды 331,762

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 395
@sarojneupane7008
@sarojneupane7008 9 ай бұрын
These (DSA)lecture will be remembered for upcoming 100 yr!! ....best lecture .
@srijitanitamajumdar5904
@srijitanitamajumdar5904 5 жыл бұрын
You are literally the Data Structure Queen of KZbin CS Tutorials!! Hands down, to this terrific explanation! Life's beautiful for me again! :D
@bigk2367
@bigk2367 7 ай бұрын
For anyone wondering, **p gives error because there is nothing to dereference after *p, 'p' is actually pointer to an integer so when you write *p, it returns the value of that first element. On the other hand 'a' gives you the 'pointer to a whole 1d array' and after *a it becomes pointer to an integer meaning the first element of a[0] and then **a finally returns the value at that address meaning 6. So, you can say *p = **a.
@rimikhandelwal4664
@rimikhandelwal4664 4 жыл бұрын
I cannot thank you enough ma'am. You just clear all my doubts in this series of data structures.. Before watching this video I thought that I had sufficient knowledge of the 2d array, but after watching it I got to know that I knew very little. Thank you so much ma'am🙏
@yashkumardhawan6961
@yashkumardhawan6961 4 жыл бұрын
That was so interactive. The concept of pointer and array is now crystal clear to me. Keep up the great work!
2 ай бұрын
These (DSA)lecture will be remembered for upcoming 100 yr!! ....best lecture .
@alessandrocamilleri1239
@alessandrocamilleri1239 3 жыл бұрын
Explanation of pointers and 2D arrays ranks right up there with the late Lord Harsha's and Animesh's mycodeschool tutorial. Well done, Jenny. Jenny, Abdul Bari and mycodeschool are great instructors.
@abdulrahimjalloh363
@abdulrahimjalloh363 7 ай бұрын
Madam Jenny, you are the best, I learnt C from your videos, and now Data Structure. You are far better than many lecturers.
@TheDev05
@TheDev05 3 жыл бұрын
I came here after getting some confusion in my *online* college lectures, but trust me....every and each point is crystal clear now.
@madhukarmeesala9080
@madhukarmeesala9080 3 жыл бұрын
Which clg ar u bro?
@_manish519
@_manish519 3 жыл бұрын
If listened carefully, the explanation was complete and was depicting your knowledge about this ,which is awesome . Thank you mam.
@freakstechnology8018
@freakstechnology8018 2 жыл бұрын
After watching this lecture i can say that I have clarified many things in this concept of array and pointer. Thanks a lot mam ✌️
@durgeshkumari4231
@durgeshkumari4231 4 жыл бұрын
ma'am i had so many doubts in pointer and 2D array that's why i had seen many videos but they didnt clarify my doubts. Surprisngly , i saw ur video on it and now they help me a lot in understanding the basic concepts of it 🔥🔥 .Thnks ma'am. Keep going 🤟🤟🤟
@Harshmishra-mj7zf
@Harshmishra-mj7zf 4 жыл бұрын
The best thing about your lecture is that u don't use compiler to teach so it actually allows me to use my imagination 🔥🔥
@vedangkavathiya8426
@vedangkavathiya8426 4 жыл бұрын
Answer of **a and *p both will be 6... Nice explanation:) If we write **p then it is error...
@ravindrakumarkushwaha1564
@ravindrakumarkushwaha1564 4 жыл бұрын
yes if we write **p then error if we write **a then 1
@er.waseem8695
@er.waseem8695 4 жыл бұрын
@@ravindrakumarkushwaha1564 in case of **a its going to print 6
@gokulraj9566
@gokulraj9566 4 жыл бұрын
bro can explain **p why is error
@dhruvvashishth3122
@dhruvvashishth3122 4 жыл бұрын
@@gokulraj9566 because p stores the address of a[0][0] which is 100 .*p is value at address 100 which is 6 and then **p is value stored at address 6 ,which is not an address, hence error.
@0_0-0_0.
@0_0-0_0. 3 жыл бұрын
@@dhruvvashishth3122 great explaination 👍👍
@sbharathi3394
@sbharathi3394 2 ай бұрын
Thank you mam...I left pointers as choice in exam because of its difficulty. Now I have understood what they are and why they are ...
@arshiyac611
@arshiyac611 2 жыл бұрын
Your teaching is so good. I want to say thank you to you with all my heart. I am very grateful that I came across your videos.
@prithvivelicheti287
@prithvivelicheti287 4 жыл бұрын
thank you, even after years of experience,we miss basic things
@ravibisht2904
@ravibisht2904 4 жыл бұрын
Yr mai like krna bhul gaya tha.. Dubara aya like krne same video mai... Tremendous work mam
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og 3 жыл бұрын
Btw I found a Great teacher on youtube, now following your playlist for my college courses..Thanks a lot mam from bottom of my heart ❤️
@jaykumargupta7307
@jaykumargupta7307 4 жыл бұрын
watched 2 videos previously on this topic but was still confused,,,then watched this video and all doubts are cleared,,,,,,thanks for such detailed and clear explanation......btw u are very beautiful..... u won't see this I know:)
@saritakumari-oh8fs
@saritakumari-oh8fs 4 жыл бұрын
**a = 6 *p = 6 **p = give compilation error as it is not the double pointer Thank you for the explanation
@Sarkar.editsz
@Sarkar.editsz 2 жыл бұрын
Thanks
@jaydipchodavadiya5071
@jaydipchodavadiya5071 2 жыл бұрын
शानदार तरीके से पढ़ाते है आप जेनी जी । शिक्षा विकास में आप का योगदान अमूल्य है। भारत के रत्न है आप।
@Divij_tanwar
@Divij_tanwar 4 жыл бұрын
The output of both expressions :- **a and **p will be 6. and thankyou for this complete explanation. :)
@marduktr
@marduktr 4 жыл бұрын
p is not a double pointer and therefore it gives an error.
@foruse471
@foruse471 3 жыл бұрын
Mam you are very beautiful.....and you are a great teacher......great respect.......mam you are doing great job......I paid lot of money in my college ....but I don't get this type of quality education there....because teachers are unenthusiastic and they don't value there job...thank you mam....you are doing great help to India's student
@deprakharjain
@deprakharjain 4 жыл бұрын
At first I thought you concepts would not be very very sharp but after seeing this pointer in 2d explanation which maximum number of good teachers fail to explain properly you explained very correct and very nicely 👍👍💯
@mdraisansari8234
@mdraisansari8234 4 жыл бұрын
Love You Ma'am i am able to understand this concept fully. Thanks to You
@Bobby-mf6fw
@Bobby-mf6fw 5 жыл бұрын
I was in search of same explanation. Thanks for explaining.
@judithukachukwu6434
@judithukachukwu6434 Жыл бұрын
Best teacher, learning from you
@aseethagayathrichakravartu422
@aseethagayathrichakravartu422 Жыл бұрын
thank you a lot mam because of i could understand this 2d array pointer concept , I saw more than 10 videos for this concept but I could'nt understand it anywhere than you because of your teaching i understood this
@saurabhkumarsingh9550
@saurabhkumarsingh9550 4 жыл бұрын
I have searched everywhere for my queries but I had not found proper video or material... But this video is wonderful and clear my all queries.... Thankyou mam
@yousefsalamh6576
@yousefsalamh6576 5 жыл бұрын
this lecture very helpful for me, i was confuse with this subject pointer and array and what is difference between them thanks a lot, continue uploading more helpful lectures
@umanggoel3154
@umanggoel3154 3 жыл бұрын
great from you before watching this i thought i have a sound knowledge of these topics but you made me more clear than ever with these efforts thnku
@santosh1456
@santosh1456 4 жыл бұрын
Awesome lecture mam! I have 15 years of software experience but i never learned basics. Your channel is now helping me to learn the basics
@mdaamir8138
@mdaamir8138 5 жыл бұрын
thank you mam for such a good lecture.please discuss LINKED LISTS in upcoming videoes as soon as possible
@godstimebarida5925
@godstimebarida5925 2 жыл бұрын
You deserve to be awarded by KZbin
@rodba1393
@rodba1393 Жыл бұрын
best video on pointer! you're a gem
@tawhidshahrior8804
@tawhidshahrior8804 3 жыл бұрын
Absolutely the best channel for understanding pointers for sure. Thank you mam!
@arurimadhukar
@arurimadhukar 4 жыл бұрын
Thank you so much for your explanation I'm studying yashavant kanethkar book but i couldn't understand those program but now iam very clear with this example...
@pixbug3359
@pixbug3359 3 жыл бұрын
The most attractive explanation! i am so thankfull for your existence Ma'am.
@mdshahereir2638
@mdshahereir2638 3 жыл бұрын
She just gave the best explanation. Everything is so clear. Thank you =)
@anujeetkunturkar780
@anujeetkunturkar780 3 жыл бұрын
FAB explanation, I was curious how we access elements in 2-D array.
@sumitnegit
@sumitnegit 4 жыл бұрын
Best lecture in KZbin till now
@goddyrichard4964
@goddyrichard4964 Жыл бұрын
God bless you alot, you have helped simplified it for me, thanks
@siddeshu.h4229
@siddeshu.h4229 3 жыл бұрын
Such a great explanation mam cleared all my doubts...Thank you...
@nikhilguleria4313
@nikhilguleria4313 2 жыл бұрын
coz of you I'm able to understand the concept of pointer .Thanks for making this amazing video👏
@saptarshibiswas1998
@saptarshibiswas1998 2 жыл бұрын
You are goddess of programming ❤️❤️❤️❤️.
@tadiwanashemashongwa8087
@tadiwanashemashongwa8087 Жыл бұрын
KZbin must have an option to like a video twice ❤
@muskangupta167
@muskangupta167 3 жыл бұрын
Mind blowing explanation. Just amazing. Thankyou so so so much for this video mam. Earlier, I found this topic to be the toughest one but you explained it so well , all my doubts are cleared and now it seems to be interesting :)
@md.billalhosen820
@md.billalhosen820 2 жыл бұрын
your explanation made me think for you. thank you so much ma'am .
@monirzaman5366
@monirzaman5366 Жыл бұрын
Value at **a: 1; In this version, a is declared as a pointer to an array of 2 integers. So, when you dereference a once (*a), you get a pointer to the first row of the 2D array. When you dereference it twice (**a), you access the value at the first element of the first row.
@justcurious1940
@justcurious1940 Жыл бұрын
**a == 6 ?
@sugarboo104
@sugarboo104 Жыл бұрын
@@justcurious1940 I think it's 1
@justcurious1940
@justcurious1940 Жыл бұрын
@@sugarboo104 Thank u for making me doubt myself, I watched the video again just to double check , **a = 6 ; **p = error; // I'm 100% sure.
@mukulverma9966
@mukulverma9966 Жыл бұрын
Ma'am your explanation is very awesome And your last line is very is relief I will see you in next video till then bye bye take care
@djay00009
@djay00009 3 жыл бұрын
For **p , it is better to write int (*p)[3] and then p = a. Then **p will give 6 as the output as well.
@praveenandrew
@praveenandrew 2 жыл бұрын
I will print **p it will occur error on compiler time
@varunrawat599
@varunrawat599 4 жыл бұрын
The most underrated channel I have ever seen!
@parveenbhullar5640
@parveenbhullar5640 Жыл бұрын
Bahut hi achha explanation,all concepts clear thank you ma'am
@amrutha2607
@amrutha2607 7 ай бұрын
oh my god jenny, i can understand your effort to explain us, please accept my special thanks.
@raunitjain9023
@raunitjain9023 2 жыл бұрын
thank you so much maam , i was so confused in this topic but now my all doubts are clear . Thanks a lot maam .
@shailymishra1457
@shailymishra1457 2 жыл бұрын
Very good explanation of data structure subject mam thank u soo much mam
@adhargupta3441
@adhargupta3441 3 жыл бұрын
❤️I am going through the great lectures ❤️
@rajeshwarinataraj9143
@rajeshwarinataraj9143 3 жыл бұрын
Excellent explanation... Thank you so much
@tharunkumartharun4461
@tharunkumartharun4461 Ай бұрын
Thanks mam it helped me a lot to avoid confusion
@abdurrahmansiam1964
@abdurrahmansiam1964 3 жыл бұрын
thanxx aallllooottt maam! you've really cleared confusions on pointers and arrays!! love from bangladesh❤❤
@1chaplain
@1chaplain 3 жыл бұрын
Yeah, I should probably watch all your tutorials instead of going to class. I actually learned more from here
@manish-mk
@manish-mk 5 жыл бұрын
**a=6 But **p will be compilation error. Because p is not a double pointer. Also p has base address of array which in this case is 100. So then it would be like **100 *100 will return value 6 But after that *6 will show error because we can't dereference any value. We can only dereference address.
@Nikita-hv5jm
@Nikita-hv5jm 5 жыл бұрын
If so then a also holds the base address of the array. So *a should give the value stored in a and also **a should give compilation error right
@rounak3239
@rounak3239 4 жыл бұрын
@@Nikita-hv5jm ur argument is also right then what is the correct answer.
@debosmitachatterjee1096
@debosmitachatterjee1096 4 жыл бұрын
@@Nikita-hv5jm no, a holds the base address of 2d array , and it contains 3 1d array so a = a[0] and when *a=*a[0] i.e 100 , so **a=*100=6
@M.A.N.S560
@M.A.N.S560 2 жыл бұрын
Outclasss concepts👍
@vikashnigam2115
@vikashnigam2115 Ай бұрын
5:12 imp
@shayaadhikari59
@shayaadhikari59 3 жыл бұрын
thank you mam for such an intelligible video
@mukulverma9966
@mukulverma9966 Жыл бұрын
thank you, thank you very much ma'am for your efforts, your videos helping me a lot.
@rajprajapati7697
@rajprajapati7697 3 жыл бұрын
Amazing concept.. Respect your hard work to teach us.
@meeett
@meeett Жыл бұрын
Video starts at 3:39
@fardilviews
@fardilviews 3 жыл бұрын
When I first visited your channel your subscribers were 100K, now more than 300K. Best of Luck.
@darven7511
@darven7511 4 жыл бұрын
i like the way of your teaching! so,i am learning how to to teach not the topic your are teaching. Thank you so much for such a great video!
@parasmahajan01
@parasmahajan01 2 жыл бұрын
Thank You very much ma'am for such an informative video. May god bless you.
@Night_gamers_07
@Night_gamers_07 4 жыл бұрын
Perfect example of beauty plus brain 😊
@rohanbadgujar9251
@rohanbadgujar9251 3 жыл бұрын
mam, you are telling at 4:21 that you can't write p=a and at 8:04 if we use p in print then it will print base address how?
@ShubhamKumar-et7gx
@ShubhamKumar-et7gx 3 жыл бұрын
same doubt
@VishalYadav-ss4qv
@VishalYadav-ss4qv 4 жыл бұрын
Excellent teacher you're mam❤️❤️🙏
@paramjani1768
@paramjani1768 2 жыл бұрын
Thank you ma'am. Your videos are perfect for placement interested students. It helped me a lot
@abhinavsharma4673
@abhinavsharma4673 4 жыл бұрын
thank you so much mam ,for such an easy and good explanation.
@itaiitaim88
@itaiitaim88 5 жыл бұрын
The best explanation i found !!!
@rumiNITPatna
@rumiNITPatna 3 ай бұрын
thank u so much for such a wonderful video!
@its_me_ashok_8046
@its_me_ashok_8046 2 жыл бұрын
Your lecture is more beautiful than you ma'am..keep going
@priyankamanna4550
@priyankamanna4550 3 жыл бұрын
Just awesome .. u as well as your teaching skill❤️🔥
@rakeshkumaryadav1117
@rakeshkumaryadav1117 3 жыл бұрын
Don't go further below comment to check the quality of study Just go through the lecture Solid explanation not a slightly chance of confusion if you are watching all video Sequentially
@shahnawaz-2279
@shahnawaz-2279 4 жыл бұрын
Nice mam.....u clear all my concepts....thanku ♥️
@vikramprasad6785
@vikramprasad6785 2 жыл бұрын
Madam..I can just say....God Bless you
@talaridharmendra6504
@talaridharmendra6504 4 ай бұрын
Explain is super madam 🙌
@ayinformationdaily9587
@ayinformationdaily9587 2 жыл бұрын
Nicely explained😊
@gokulap9152
@gokulap9152 4 жыл бұрын
Awesome explanation 🔥
@tanmayshelke802
@tanmayshelke802 4 жыл бұрын
Thank you so much mam your videos are really helpful because of this videos i could make one Gate 2020 question of array and i am very happy
@neelrana9391
@neelrana9391 3 жыл бұрын
Thanks mam My Concept is clear now.
@Prateek_Mantry
@Prateek_Mantry 4 жыл бұрын
Thank you so much ma'am for such a clear and step by step explanation :-)
@gauravnagamaheswarpattem7069
@gauravnagamaheswarpattem7069 4 жыл бұрын
mam, I want you to make a series on python just like this series
@fardeen5121
@fardeen5121 4 жыл бұрын
Use telusko ' s playlist
@kayserahmed3484
@kayserahmed3484 4 жыл бұрын
very helpful, love from Bangladesh
@rutujavaidya938
@rutujavaidya938 4 жыл бұрын
Simple explanation ma'am, thank you very much 🙏
@RTCriss
@RTCriss Жыл бұрын
Thanks for the explanation! Great work!
@shreelbansal3026
@shreelbansal3026 3 жыл бұрын
Very nice explanation....... Thanks a lot!!!!!!!!!!
@anandaprakashdatta
@anandaprakashdatta 4 жыл бұрын
Excellent explanation.Mam, thanks a lot for clarifying my doubts.
@SriDevi-mq7hk
@SriDevi-mq7hk 3 жыл бұрын
Really excellent explanation....thanks a lot...
@anjalinautiyal9532
@anjalinautiyal9532 3 жыл бұрын
Superb explanation👌👌
@jaijaijaijai123
@jaijaijaijai123 3 ай бұрын
I think @17:10 there is a mistake. In place of 'a' we can't write p, because p is of the type (int*) while 'a' is address pointing to int[3]. a+i= &A[i] i.e address of ith row. But p+i will take i integers ahead of A[0][0] and point to its address i.e &A[0][0] +i.
@matthewparisien3504
@matthewparisien3504 2 жыл бұрын
Great video and explanation thank you!
2.1 Introduction to Linked List | Need of Linked List | DSA Tutorials
22:11
Jenny's Lectures CS IT
Рет қаралды 1,3 МЛН
1.4 Pointers and Arrays | Data structure Tutorials
25:05
Jenny's Lectures CS IT
Рет қаралды 634 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,7 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 505 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
C++ multidimensional arrays explained ⬜
7:41
Bro Code
Рет қаралды 15 М.
Dynamically Allocate A 2D Array | C Programming Tutorial
15:58
Portfolio Courses
Рет қаралды 41 М.
Hash Tables and Hash Functions
13:56
Computer Science Lessons
Рет қаралды 1,6 МЛН
Dynamic 2d array allocation and deallocation in C
9:09
Jat in the box
Рет қаралды 21 М.
2.3 Arrays vs Linked List | Data structures
21:20
Jenny's Lectures CS IT
Рет қаралды 482 М.
you will never ask about pointers again after watching this video
8:03
Introduction to Two-Dimensional (2D) Arrays
10:20
Neso Academy
Рет қаралды 721 М.