Compiler Warning (level 1) C4154
Error Message
deletion of an array expression; conversion to pointer supplied
You cannot use delete on an array, so the compiler converts the array to a pointer.
Example
Copy Code// C4154.cpp
// compile with: /W1