answersLogoWhite

0

delete is used to destroy a single object. It will call the destructor of the object and free the memory. delete[] is used to free the memory which was allocated using new []. delete [] will call the destructor for each object in array and free the memory. ________________ As far as I can tell, they aren't delete bit different.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

Difference between format and delete?

What is the difference between delete and format?


What is the difference between delete and delete sheet command?

delete command would delete selected word,line, paragraph or even sheet. Whereas delete sheet command would delete the whole sheet


What is difference between delete file in DOS and delete file in Windows?

i don't know the difference but what i know is ... deleted file from MS-DOS is never go to the recycle bin. Thanks !


Difference between the delete key an the back space?

The backspace key deletes to the left of the cursor, and the delete key deletes to the right of the cursor.


What is the difference between backspace and delete key?

The delete key removes the character above or to the right of the cursor. The backspace removes the character to the left of the cursor.


What is the difference between pressing the Delete key or the left arrow key in the middle of a line of text?

Delete key deletes any amount of text. The left arrow key only moves the I beam


What is the difference between executenonquery and executequery?

ExecuteQuery() :To Execute SELECT StatementExecuteNonQuery() :To Execute Other Than Select Statements (INSERT/UPDATE/DELETE)


Difference between DEL key and Backspace Key?

DEL key (delete key) gets rid of the things on front of the cursor. Backspace gets rid of things behind the cursor.DEL key is used to delete files


What is the Difference between transaction and query?

The query is simple set of insert,update,delete statement where as transaction is a set of statement which follows ACID properties.


What is the difference between delete and truncate statement in SQL Database?

Delete statement deletes only the data from the table but you can apply some condition and only part of the data can be deleted. Truncate empties entire table. Drop deletes the table itself.


What difference between dml and ddl?

The basic difference between DDL and DML is the commands they provide . The DDL provides statement for the creation and deletion of tables, indexes, views etc. while the DML provides statements to enter, update, delete and perform complex queries on these tables.


What is the difference between truncate and delete in terms of a database transaction?

Once data is truncated it can not be rolled back (recovered). However, data can be rolled back if deleted accidentally.