Skip to main content
added 18 characters in body
Source Link
Thomas Eding
  • 1.1k
  • 1
  • 11
  • 18

Pointers.

  • Do theyDoes the pointer point to memory on the stack?
  • Do theyDoes the pointer point to memory on the heap?
  • Does the pointer point to a single object?
  • Does the pointer point to an array?
  • Does the pointer point to a location in the middle of an array?
  • Is the pointer valid?
  • Is the pointer mangled?
  • What code "owns" the pointer?
  • Should the referenced object be manually deallocated? If so how?

Pointers.

  • Do they point to memory on the stack?
  • Do they point to memory on the heap?
  • Does the pointer point to a single object?
  • Does the pointer point to an array?
  • Does the pointer point to a location in the middle of an array?
  • Is the pointer valid?
  • Is the pointer mangled?
  • Should the referenced object be manually deallocated? If so how?

Pointers.

  • Does the pointer point to memory on the stack?
  • Does the pointer point to memory on the heap?
  • Does the pointer point to a single object?
  • Does the pointer point to an array?
  • Does the pointer point to a location in the middle of an array?
  • Is the pointer valid?
  • Is the pointer mangled?
  • What code "owns" the pointer?
  • Should the referenced object be manually deallocated? If so how?
Source Link
Thomas Eding
  • 1.1k
  • 1
  • 11
  • 18

Pointers.

  • Do they point to memory on the stack?
  • Do they point to memory on the heap?
  • Does the pointer point to a single object?
  • Does the pointer point to an array?
  • Does the pointer point to a location in the middle of an array?
  • Is the pointer valid?
  • Is the pointer mangled?
  • Should the referenced object be manually deallocated? If so how?