Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

delete c++

// Delete is like 'free' in C.
// If you have a dynamic variable, you need to free its memory (delete it) using the delete keyword.
int arr = new int[7];
delete arr[];
 
PREVIOUS NEXT
Tagged: #delete
ADD COMMENT
Topic
Name
7+1 =