why we have used a two 2d array not a 1d array.and even we have used a 2d array while calling it in the function we treated as a 1d array while mentioning in cout
Why we have used a two 2d array not a 1d array
hi @mvarun975_a7021058d653891d the 2d array here is just 1 row when you do cout<<words[i] the word at that row index is printed, same can be done using 1d string array