In the following function, where should the call to "free (root);" go?void _destroy (NODE* root){   if (root)  {       _destroy (root->left);       free (root->dataPtr);       _destroy (root->right);   }   return;}

A. Right before _destroy(root->right).
B. Right after _destroy(root->left).
C. Right after _destroy(root->right).
D. Right before the return statement.


Answer: C

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a self-contained instruction that can be combined with others to automate tasks and is considered to be the basic building block of macros

A) Program Flow B) Action C) Group D) Submacro

Computer Science & Information Technology

The difference between the SUMIF and SUMIFS functions is that SUMIFS can specify only one criterion for summing the range

Indicate whether the statement is true or false.

Computer Science & Information Technology

Which of the following can hide an IP address so that it can bypass applications that block certain IP addresses?

a. Cookies b. URL obfuscation c. Cross-site scripting d. Web proxies

Computer Science & Information Technology

Which of the following is not needed to create a secure system?

A. People B. Processes C. Technology D. All the above are needed to create a secure system

Computer Science & Information Technology