2048 PROBLEM RECURSION

I didn’t understand the syntax of char[ ][10].

This means char array of 10 columns?

Hey @mverma_be19 :grinning:, yes it means the same.

Then when we do words[digit] why it is not showing error ? we are indirectly converting 1-D array into 2-D ?

Hey @mverma_be19 when you declare words [][10] it means number of rows which have 10 columns. Row one has ‘one’, tow has ‘two’ and so on so when we we find digit and call words[n] it will show you the number stored in that row . Hope this would help you in understanding :grinning: