In Visual C++ 2005 Express, a double variable requires 8 bytes of storage space and an integer requires 4 bytes of storage space. How many bytes of memory are required for a double pointer? For an integer pointer?

What will be an ideal response?

A double variable requires eight bytes of storage space and an integer requires four bytes of storage space. The size of any type of pointer (double or integer included) is the number of bytes of the addressing architecture for the system. Visual C++ 2005 Express, is a 32-bit addressing scheme; hence, pointer variables are 4 bytes (32-bits). In the 1980’s, under MS-DOS, Borland C was a 16-bit addressing architecture and all pointers were 2 bytes (as were the integer variables).

Computer Science & Information Technology

You might also like to view...

If users rename tables that are in existing relationships, they will need to re-establish those relationships after the name change

Indicate whether the statement is true or false

Computer Science & Information Technology

The statement, when executed in a while loop, skips the remaining statements in the body of the statement and begins the next iteration of the loop.

a) continue b) break c) next d) None of the above.

Computer Science & Information Technology