+ 1

Why there is an error in the line mentioned (//) on execution

I want to make pig latin but want dynamic array so i declare string array with new keyword But on using delete it raise error Please explain me https://code.sololearn.com/cPr7norYVUcK/?ref=app

15th Feb 2020, 12:15 PM
Shobhit
Shobhit - avatar
4 odpowiedzi
+ 1
Thanks swim
15th Feb 2020, 1:04 PM
Shobhit
Shobhit - avatar
0
You have to remove the comments from delete to see
15th Feb 2020, 12:30 PM
Shobhit
Shobhit - avatar
0
But why there is no error in preceding delete bcz it is also an array
15th Feb 2020, 12:35 PM
Shobhit
Shobhit - avatar
- 1
For me it worked without errors
15th Feb 2020, 12:29 PM
Seb TheS
Seb TheS - avatar