"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org"> delete cppreference.com > "index.html">C/C++ Keywords > "delete.html">delete delete Syntax: delete p; delete[] pArray; The delete operator frees the memory pointed to by p. The argument should have been previously allocated by a call to "new.html">new. The second form of delete should be used to delete an array. Related topics: (Standard C Memory) free (Standard C Memory) malloc new