Not understanding the solution compeletly


line No 19.How we extrating value from [2][0]th index when we have array like keypad[][10]

hello @coder_girl

char keypad[][10]={""," ","ABC","DEF","GHI","JKL","MNO","PQRS","TUV","wxyz"};

here keypad is 2d array , where each row is a string right?
so when u will do keypad[2] then it will return string present in 3rd row which is ABC.
no to access 0 index of this string we do keypad[2][0] which will return A.
this how we r accessing character from the given arry

Still not getting it .

pls read about ways of 2d array declaration then only it will make sense to u.

resources

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.