You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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>
Copy file name to clipboardExpand all lines: data/course-revision/1511-23T3/2d_malloc.mdx
+1
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ $ ./2d_malloc 10 10
41
41
42
42
- You may assume there is enough memory to allocate the array on the heap.
43
43
- 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!
44
45
- You do not need to worry about a horrific eldritch abomination destroying your computer midway through runtime.
0 commit comments