Skip to content

Commit

Permalink
Added note to 1511 2D array problem (#262)
Browse files Browse the repository at this point in the history
* fix: added a disclaimer note to the 2D malloc exercise regarding it not being a 'true' 2d array

* Changed 1511 2D-Malloc Note Order

---------

Co-authored-by: Liam Smith <[email protected]>
  • Loading branch information
BadAtEveryGame and lronsmith authored Aug 17, 2024
1 parent 7b2a640 commit 44bd14f
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 @@ -41,6 +41,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.
- 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!
- You do not need to worry about a horrific eldritch abomination destroying your computer midway through runtime.

## CSE Autotest
Expand Down

0 comments on commit 44bd14f

Please sign in to comment.