Answer:
string ** carMakes=new string*[20];
for(int i=0;i<20;i++)
{
carMakes[i]=new string[6];
}
Step-by-step explanation:
The above written piece of code is in C++ and it will declare and allocate memory on the heap for a 2-D array of strings with the number of rows 20 and number of columns 6 with name of the array carMakes.
To declare a 2-D array in C++ we use new keyword.