Ok, heres a situation:
Code:
// Create pointers for 50 strings
char **strings = new char * [50];

for (int i = 0; i < 50; ++i){
   // Create a string with 10 characters of room
   strings[i] = new char[10];
}
Now I have 700 bytes: 50 x 4-bytes in pointers and 50 x 10-bytes in strings. Which of the following scenarios is the proper way to delete these strings.

A)
Code:
delete [] strings;
B)
Code:
for (i = 0; i < 50; ++i)
   delete [] strings[i];
delete [] strings;
C) none of the above (please elaborate).

Thanks for your help.