The delete operator:

a. Can terminate the program.
b. Must be told which destructor to call when destroying an object.
c. Can delete an entire array of objects declared using new.
d. Is called implicitly at the end of a program.


c. Can delete an entire array of objects declared using new.

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. If an operation requires the executing thread to hold a lock while the operation is performed, a thread must relase the lock before proceeding with the operation. Other threads attempting to perform an operation that requires the same lock will be blocked until the first thread releases the lock, at which point the blocked threads may attempt to acquire the lock and proceed with the operation. b. To specify that a thread must hold a monitor lock to execute a block of code, the code should be placed in a synchronized statement. c. Code in a synchronized statement is said to be guarded by the monitor lock; a thread must acquire the lock to execute the guarded statements. d. The monitor allows only one thread at a time to execute statements within synchronized statements that lock on the same object, as only one thread at a time can hold the monitor lock. The synchronized statements are declared using the synchronized keyword.

Computer Science & Information Technology

A structured database makes it easy to locate records using a report.

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

Computer Science & Information Technology

You are installing a video card in a system that was previously using built-in video. When you turn on your computer, there is no picture. The cable is connected properly and the display automatically senses the correct connection to use. Which of the following is the most likely cause?

a. You connected the cable back into the built-in port. b. You didn't connect a power cable to the card. c. You didn't connect a USB cable to the card. d. You forgot to attach an SLI or CrossFire cable to the card.

Computer Science & Information Technology

In C, a string is stored as a ____ array of characters.

A. one-dimensional B. two-dimensional C. static D. global

Computer Science & Information Technology