How much memory is reserved for the following variables
in MS Visual C++?
``` int s,
int *s_ptr;
double q, *q_ptr;```
A. 16
B. 20
C. 24
D. 30
B
You might also like to view...
Answer the following questions about smart pointers:
a) Briefly describe the advantages of shared_ptr over auto_ptr. b) Describe a situation in which a custom deleter function would be used. c) Describe a situation in which you’d use a weak_ptr that is not responsible for lifetime management of its resource.
To change the appearance of text, such as changing the color to blue, is changing the ________
Fill in the blank(s) with correct word
The ________ function is a useful tool for detecting an error and displaying a more user friendly message
A) ISMISTAKE B) IFERROR C) IS ERROR D) IFMISTAKE
When creating a table, the ________ attribute may cause unexpected results in some browsers and should be used sparingly
Fill in the blank(s) with correct word