Which of the following statements are correct to delete a dynamic object from a pointer p?

A. delete [] p;
B. delete [] *p;
C. delete *p;
D. delete p;


D. delete p;

Computer Science & Information Technology

You might also like to view...

Which order is correct for the analyst to normalize a data structure?

I. Remove all repeating groups and identify the primary key. II. Remove any transitive dependencies. III. All partial dependencies are removed and placed in another relation. A) III - II - I B) I - II - III C) III - I - II D) II - I - III E) I - III - II

Computer Science & Information Technology

(Recursively Print a Queue Backwards) Write a method printQueueBackwards that recursively outputs the items in a linked list object in reverse order. Write a test program that cre- ates a list of integers and prints the list in reverse order.

What will be an ideal response?

Computer Science & Information Technology

Windows Product Activation (WPA) uses an update called Volume Activation for activation on multiple computers

Indicate whether the statement is true or false

Computer Science & Information Technology

Ann a security analyst is monitoring the IDS console and noticed multiple connections from an internal host to a suspicious call back domain.Which of the following tools would aid her to decipher the network traffic?

A. Vulnerability Scanner B. NMAP C. NETSTAT D. Packet Analyzer

Computer Science & Information Technology