Skip to content

Commit 44bd14f

Browse files
Added note to 1511 2D array problem (#262)
* 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 <tepigtls@outlook.com>
1 parent 7b2a640 commit 44bd14f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/course-revision/1511-23T3/2d_malloc.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ $ ./2d_malloc 10 10
4141

4242
- You may assume there is enough memory to allocate the array on the heap.
4343
- You may **not** store the arrays on the stack.
44+
- 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!
4445
- You do not need to worry about a horrific eldritch abomination destroying your computer midway through runtime.
4546

4647
## CSE Autotest

0 commit comments

Comments
 (0)