Skip to content

Commit

Permalink
fix: added a disclaimer note to the 2D malloc exercise regarding it n…
Browse files Browse the repository at this point in the history
…ot being a 'true' 2d array
  • Loading branch information
BadAtEveryGame committed Aug 17, 2024
1 parent 7b2a640 commit b801827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/course-revision/1511-23T3/2d_malloc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ $ ./2d_malloc 10 10
- You may assume there is enough memory to allocate the array on the heap.
- You may **not** store the arrays on the stack.
- You do not need to worry about a horrific eldritch abomination destroying your computer midway through runtime.
- Note that this is not a "true" 2D array, but rather a 1D array pointing to 1D arrays. There are slight differences (e.g. it is not stored contiguously in memory), but you don't need to worry about this, it can be "used as" a 2D array!

## CSE Autotest

Expand Down

0 comments on commit b801827

Please sign in to comment.