Number to spelling

why did we take 2D char array?

Hello @vashishthkuntal.gajjar2019 we have to store strings “one” “two” in an array. You can either use the string datatype and make a 1d array to store the strings. If you use character array, then to store arrays in an array, you need a 2d array.

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.