pointer,array 求值
请高人帮忙解释下char* str = "2,3,5,7,11,13";
int prim[] = {2,3,5,7,11,13};
char* ptr1 = str;
int* ptr2 = &prim[1];
char* ptr3 = str + prim[5];
求值:
1) str[6]
2)*(ptr3)
3) *(ptr1+4)
4) ptr2[2]
5) *((ptr1+3) + *ptr2)
6) (prim[3] == str[3])
请详解每题。谢谢