A、 if(s1>s2) S; B、 if(strcmp(s1, s2) ) S; C、 if(strcmp(s2, s1) >0) S; D、 if(strcmp(s1, s2) >0) S;
单项选择题若有定义:char *st= how are you ; ,下列程序段中正确的是()。
A) char a[11], *p; strcpy(p=a+1, &st[4]); B) char a[11]; strcpy(++a, st); C) char a[11]; strcpy(a, st); D) char a[], *p; strcpy(p=&a[1], st+2);
单项选择题有以下程序: #include<stdio.h> #define f(x) (x*x) main() int i1, i2; i1=f(8) f(4); i2=f(4+4) f(2+2); printf( %d, %d n , i1, i2); 程序运行后的输出结果是()。
A、 64, 28 B、 4, 4 C、 4, 3 D、 64, 64