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

preview_player
Показать описание
In this video, we will see how we can work with 2-D(Two Dimensional) Arrays using Pointers. I have explained how 2D Arrays are organized in Memory and how Pointer Arithmetic and dereferencing can be used to work with 2D Arrays.

******************************************
See Complete Playlists:

**********************************************
Connect & Contact Me:
Рекомендации по теме
Комментарии
Автор

You are literally the Data Structure Queen of Youtube CS Tutorials!! Hands down, to this terrific explanation! Life's beautiful for me again! :D

srijitanitamajumdar
Автор

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.

bigk
Автор

These (DSA)lecture will be remembered for upcoming 100 yr!! ....best lecture .

sarojneupane
Автор

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🙏

rimikhandelwal
Автор

That was so interactive. The concept of pointer and array is now crystal clear to me. Keep up the great work!

yashkumardhawan
Автор

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.

alessandrocamilleri
Автор

Answer of **a and *p both will be 6...
Nice explanation:)
If we write **p then it is error...

vedangkavathiya
Автор

If listened carefully, the explanation was complete and was depicting your knowledge about this, which is awesome . Thank you mam.

_manish
Автор

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

durgeshkumari
Автор

After watching this lecture i can say that I have clarified many things in this concept of array and pointer.

Thanks a lot mam ✌️

freakstechnology
Автор

I came here after getting some confusion in my *online* college lectures, but trust me....every and each point is crystal clear now. <3

TheDev
Автор

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

SaurabhKumar-qcog
Автор

The best thing about your lecture is that u don't use compiler to teach so it actually allows me to use my imagination 🔥🔥

Harshmishra-mjzf
Автор

Madam Jenny, you are the best, I learnt C from your videos, and now Data Structure. You are far better than many lecturers.

abdulrahimjalloh
Автор

thank you mam for such a good lecture.please discuss LINKED LISTS in upcoming videoes as soon as possible

mdaamir
Автор

thank you, even after years of experience, we miss basic things

prithvivelicheti
Автор

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.

arshiyac
Автор

**a = 6
*p = 6
**p = give compilation error as it is not the double pointer
Thank you for the explanation

saritakumari-ohfs
Автор

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

deprakharjain
Автор

Yr mai like krna bhul gaya tha.. Dubara aya like krne same video mai... Tremendous work mam

ravibisht