answersLogoWhite

0


Best Answer

You use delete object in C++ to delete an object. You can also implicitly delete the object, if it is automatic type, by going out of local scope.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What command is used to destroy object in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is command button visual basic?

command button is one of the control used to execute the codes or commands.


Object in c and c plus plus?

C is not an object-oriented programming language and therefore has no objects as such. However, the term is often used in a more general sense to mean any instance of an user-defined or primitive variable/constant. In C++, the term is used specifically to mean any instance of a class.


How do you implement inheritance in c plus plus?

You implement inheritance by deriving a new class of object from an existing class of object. The existing class is known as the base class of the derived class.Classes declared final cannot be used as bases classes and classes without a virtual destructor (or a virtual destructor override) cannot be used as polymorphic base classes.


What is physical object in c plus plus?

A physical object is a real-world entity -- one you can physically sense either by seeing it, touching it, smelling it, hearing it or tasting it. By contrast, a virtual object is one we can only imagine. In object-oriented programming languages such as C++, all objects are virtual entities that can be used to represent a physical entity or an imagined entity, or a combination of both, either in whole or in part.


What is front functions in c plus plus?

Front functions such as vector::front(), list::front() and queue::front() return the first object in a container class. Not to be confused with begin() functions such as vector::begin() which return an iterator object which is typically used in iterative functions (loops) to traverse the objects within a container.

Related questions

Which command is used to backup in DOS 6 plus version?

The BACKUP command is used to backup in DOS 6 plus version.


What menu command is used to place a copy of an object to another place?

paste


What is command button visual basic?

command button is one of the control used to execute the codes or commands.


What is dsmove?

Command-line tool can be used to move an object from one OU to another.


Command-line tool can be used to move an object from one ou to another?

dsmove


What command-line tool can be used to move an object from one ou to another?

dsmove


How does one destroy a bedrock in Minecraft?

In order to destroy bedrock in Minecraft, either the super pick-axe command or TNT can be used. These are the only two options without cheats.


What does the html command object classid accomplish?

Classid is used to assign a particular object to a given string. For example, if the classid="t", then the letter 't' maybe used to refer to the particular object that was assigned.


What is the meaning of fulguration?

FULGURATION: verb (used without object)1.to flash or dart like lightning. verb (used with object)2.Medicine/Medical . to destroy (especially an abnormalgrowth) by electricity.


What is persistent object in c plus plus?

A persistent object is an object that retains its value between two different executions of the program that uses it. This means that some kind of disk file is used to store and load the object, using a method of the object, such as "serialize", to do so.


Which command line utility can be used to move an active directory object from one container to another?

c). Dsmove


What are the different mouse techniques which are used in giving commands in excel?

You can right-click on an appropriate object to select a command, then right-click to execute the command. You can click on an icon to execute some commands.