0
I have an error in a problem and I don't know what the correct answer is
I have a problem in "introduction to c++" there is a question that I don't know what it is, in dynamic memory there is a question where you have to fill in the blanks to assign an array of strings "count" size, and then delete it from memory and it gives the following ______ * arr = ____ string[* this is where the problem occurs I don't know what to put here *]; ______ [] _____;
1 Answer
+ 3
here's a tip: after the first fail, you get access to the comments at the top bar. sometimes people leave hints there.
for that problem, one hint is dynamic arrays is created using the new keyword and deleted using delete[]... also count is a variable, so use it as such... [count]