單項(xiàng)選擇題

設(shè)有char str〔10〕,下列語句正確的是()

A.scanf(”%s”,&str);
B.print[(”%c”,str);
C.printf(”%s”,str〔0〕);
D.printf(”%s”,str);

微信掃碼免費(fèi)搜題