C语言题目,有图,基础比较差,希望过程能详细一些?
16.以下程序的运行结果是()#include<stdio.h>#include<string.h>voidmain(){charyear[]="2016",subjec...
16.以下程序的运行结果是( )
# include <stdio. h>
# include<string. h>
void main( )
{
char year[ ]="2016",subject[ ]="computer";
printf("%d\n",strlen(strcpy(subject, year)));
}
A.4 B.8 C.248 D.258 展开
# include <stdio. h>
# include<string. h>
void main( )
{
char year[ ]="2016",subject[ ]="computer";
printf("%d\n",strlen(strcpy(subject, year)));
}
A.4 B.8 C.248 D.258 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询