单项选择题
有以下程序: main( ) { char *p[10]={“abc”,”aabdfg”,”dcdbe”,”abbd”,”cd”}; printf(“%d\n”,strlen(p[4])); } 执行后输出结果是( )。
A.2
B.3
C.4
D.5
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; }
C.struct color { int red; int green; int blue; } cl;
D.struct { int red; int green; int blue; } cl;
点击查看答案
单项选择题
下列叙述中正确的是【 】。
A.一个算法的空间复杂度大,则其时间复杂度也必定大
B.一个算法的空间复杂度大,则其时间复杂度必定小
C.一个算法的时间复杂度大,则其空间复杂度必定小
D.上述三种说法都不对
点击查看答案&解析
相关试题
执行以下程序后的输出结果是【 】。main(...
以下程序运行后的输出结果【 】。struct ...
诊断和改正程序中错误的工作通常称为【 】。
下列程序的运行结果是:【 】#include ...
以下程序运行后的输出结果是【 】。main(...