A.puts(a,b);
B.printf(“%s,%s”a[],b[]);
C.putchar(a,b);
D.puts(a);puts(b);
第1题:
若有定义: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);
第2题:
char a=0x80; 请写出a 的真值
第3题:
下列程序段正确的是:
A.char a[80];a="Hello world!";
B.char a[10]= "Hello world!";
C.char a[80];scanf("%s",a[0]);
D.char a[80];scanf("%s",a);
第4题:
若有以下定义:
char a;int b;
float c;double d;
则表达式a*b+d-c值的类型为( )。
A.A. float
B.int
C.char
D.double
第5题:
若有声明语句:char a;则下面的语句是否正确() a=1000;