单项选择题

若有以下定义:
char s(10)="program",t[]="test";
则下列选项中对字符串操作错误的是( )。

A.strcpy(s,t);
B.strcat(s,t);
C.cout<<strlen(s);
D.gets(s);