Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 158 Bytes

c_basics.md

File metadata and controls

9 lines (6 loc) · 158 Bytes

First indexed value is same as value of pointer. For example, array[0] == *p.

char arr[] = {'A', 'B', 'C'};
char* p = arr;


array[2] == *(p+2)