TOC PREV NEXT INDEX

C++: A Dialog


3.11. 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
Address Hex byte value

1000 44
1001 48
1002 45
1003 4c
1004 4c
1005 4f
1006 00

www.steveheller.com
steve@steveheller.com
TOC PREV NEXT INDEX