Smart keyboard advance

string val[] ={ “”,"", “abc”, “def”, “ghi”, “jkl” , “mno”, “pqrs” , “tuv”, “wxyz” };

can we write val[digit][k] can we write like 2d array since my above val is in the form of 1d array

hello @Somith
actually string is a kind of array itself.

val is a 2d array itself.
u can use
val[digit][k] on above val array. it will work.

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.