What is the purpose of operator new? Explain what happens when this keyword is used in an app.

What will be an ideal response?


The purpose of operator new is to create an object of a class. When operator new is
used in an application, first a new object of the class to the right of new is created, then
the class’s constructor is called to ensure that the object is initialized properly.

Computer Science & Information Technology

You might also like to view...

Access can be used in business to ________ complete databases or to ________ data from tables contained in RDBMS

Fill in the blank(s) with correct word

Computer Science & Information Technology

The default TTL in Windows Server 2008, Windows Server 2012, Windows 7, and Windows 10 is which of the following?

A. 64 B. 72 C. 112 D. 128

Computer Science & Information Technology

_________ can be used to automate common startup tasks such as opening forms or running queries

A) Automatic macros B) Startup macros C) If actions D) Breakpoints

Computer Science & Information Technology

The Control Panel is the main work area in Windows.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology