accesing array elements by subscript notation and pointer notation