赞题库-背景图
单项选择题

若有定义如下:char x[10]="Visual C",y[]="++6.0"; 则下列选项中对字符串操作错误的是( )。

A) strcpy(x,y); B) strcat(x,y);
C) gets(x);
D) cout<<strlen(x);