Ancient CS 61 Content Warning!!!!!1!!!
This is not the current version of the class.
This site was automatically translated from a wiki. The translation may have introduced mistakes (and the content might have been wrong to begin with).

Exercise P Solutions

These are our solutions for Exercise P.

  1. char*, 0x1101
  2. char*, 0x10FF
  3. char*, 0x1100
  4. ptrdiff_t, 1
  5. char*, 0x1108
  6. ptrdiff_t, 1
  7. ptrdiff_t, 16
  8. ptrdiff_t, 16
  9. size_t, 4
  10. size_t, 1
  11. int*, 0x1100
  12. int*, 0x1104
  13. ptrdiff_t, 1
  14. ptrdiff_t, 4
  15. size_t, 4
  16. size_t, 4
  17. int*, 0x1110
  18. int*, 0x1110
  19. int*, 0x1104
  20. char*, 0x1104
  21. ptrdiff_t, 4
  22. ptrdiff_t, 3
  23. int, 0
  24. int, 1
  25. char, 1
  26. int, 257 (0x101)
  27. char, 2
  28. int, 258 (0x102)