Similarly, we can use the [] operator on a pointer. If ptr = arr, then it is perfectly valid syntax to do ptr[0], ptr[1], etc.