Exercises, Second Set

2.Assume that a C string literal starts at memory location 1001. If the contents of memory are as illustrated in Figure 3.19, what is the value of the C string literal?
Figure 3.19. A small section of RAM

Get C++: A Dialog Programming with the C++ Standard Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.