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
Lets say that you have int matrix[4][4]; and want to get matrix[1][1] which is item 6 then we can hardcode the ptr offset as >>>>>> and copy the value into the desired cell.
I know that this works for 1 dimensional array but that was before multidimensional arrays.
This might also work with setting an item.
The text was updated successfully, but these errors were encountered:
Lets say that you have
int matrix[4][4];
and want to getmatrix[1][1]
which is item 6 then we can hardcode the ptr offset as>>>>>>
and copy the value into the desired cell.I know that this works for 1 dimensional array but that was before multidimensional arrays.
This might also work with setting an item.
The text was updated successfully, but these errors were encountered: