设有char str〔10〕,下列语句正确的是

设有char str〔10〕,下列语句正确的是
A、scanf(”%s”,&str);
B、print[(”%c”,str);
C、printf(”%s”,str〔0〕);
D、printf(”%s”,str);
【正确答案】:D