2048 problem recursion

in this problem we have used two brackets with char array
char words[][10]
how is it accessing the element like this ( words[digit] ) .

hi @gulatigarvita08 this 2d character array is an array of strings, So words[i] will actually give us a whole string like “one”

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.

@gulatigarvita08
The doubt was reopened. Is your doubt resolved?

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.