单选题

若有定义char str[20]="Hello!"; 则执行cout<<strlen(str)<<","<<sizeof(str)<<endl;语句的输出结果是( )。

A

20,6

B

6,20

C

7,20

D

20,7

赣ICP备20007335号-2