⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

int A[5]

2

4

6

8

10

200

204

208

212

216

+4

+4

+4

+4

A[0]

A[1]

A[2]

A[3]

A[4]

int* p = A

print(p) - 200 print(p) - 2 print((p+2)) - 6

p A print(A) - 200 print(A) - 2 print((A+2)) - 6

*(A + i) is same as A[i] (A + i) is same as &A[i]

Remember: p = A is correct A = p is incorrect