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

Computer Science & Information Technology

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.

Computer Science & Information Technology

To change the appearance of text, such as changing the color to blue, is changing the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

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

Computer Science & Information Technology

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

Computer Science & Information Technology