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*, 0x1001
  2. char*, 0xFFF
  3. char*, 0x1000
  4. ptrdiff_t, 1
  5. char*, 0x1010
  6. ptrdiff_t, 1
  7. ptrdiff_t, 16
  8. ptrdiff_t, 16
  9. size_t, 4
  10. size_t, 1
  11. int*, 0x1000
  12. int*, 0x1004
  13. ptrdiff_t, 1
  14. ptrdiff_t, 4
  15. size_t, 4
  16. size_t, 4
  17. int*, 0x1010
  18. int*, 0x1010
  19. int*, 0x1004
  20. char*, 0x1004
  21. ptrdiff_t, 4
  22. ptrdiff_t, 3
  23. int, 0
  24. int, 1
  25. char, 1
  26. int, 257
  27. char, 2
  28. int, 258