Multiple choice:For the following program segment, the correct description is ().
For the following program segment, the correct description is ().
```
char s[ ]="china";
char *p;
p = s;
```
@[D](1)
A. 's' and 'p' are exactly the same
B. The contents of array's' and pointer variable 'p' are equal
C. The length of array's' is equal to the length of string pointed by 'p'
D. '* p' is equal to's [0] '
A. 's' and 'p' are exactly the same
B. The contents of array's' and pointer variable 'p' are equal
C. The length of array's' is equal to the length of string pointed by 'p'
D. '* p' is equal to's [0] '
answer:D
```
char s[ ]="china";
char *p;
p = s;
```
@[D](1)
A. 's' and 'p' are exactly the same
B. The contents of array's' and pointer variable 'p' are equal
C. The length of array's' is equal to the length of string pointed by 'p'
D. '* p' is equal to's [0] '
A. 's' and 'p' are exactly the same
B. The contents of array's' and pointer variable 'p' are equal
C. The length of array's' is equal to the length of string pointed by 'p'
D. '* p' is equal to's [0] '
answer:D