Using 2D character array

Why we have used a 2D array in this problem ? Why can’t we use 1D array ?

if you want to make 1D array then make array of strings
string words[] = {"zero","one","two","three","four","five","six","seven","eight","nine"};

as every string is also 1D array of characters hence it is 2D array of characters