If dynamic memory has been allocated for an object and an exception occurs, then:
a. The catch block will not work properly.
b. A memory leak could result.
c. The object's constructor will cause another exception.
d. Multiple pointers to memory could be created.
b. A memory leak could result.
Computer Science & Information Technology
You might also like to view...
What will be the result of the host name resolution when multiple IP addresses are associated with the same host name in the /etc/hosts file?
What will be an ideal response?
Computer Science & Information Technology
What is displayed by the following code fragment if all the variables are of type int?
``` k = 0; m = 0; for (p = 0; p < 10; p = p + k) { k = k + 1; m = m + p; printf("%4d%4d%4d\n", p, k, m); } ```
Computer Science & Information Technology