【单选题】字符‘0’的ASCⅡ码的十进制数为48,且数组的第0个元素在低位,则以下程序的输出结果是______。 #include<stdio.h> main() { union{int i[2];long k;char c[4];}r,*s=&r; s->i[0]=0x39; s->i[1]=0x38; printf('%c/n',s->c[0]); }
【单选题】以下程序运行后的输出结果是? #includ int * f(int * x, int * y) { if(*x<*y) return x; else return y; } void main() { int a=7; b=8; *p, *q, *r; p=&a, q=&b; r=f(p,q); printf("%d,%d,%d\n",*p,*q,*r); }
【单选题】在增强“四个自信”中,( )是更基础、更广泛、更深厚的自信。
【单选题】以下程序中函数scmp功能是返回形参指针s1和s2所指字符串中较小字符串的首地址。#includ<string. h>char *scmp(char *s1,char *s2){ if(strcmp(s1,s2)<0) return(s1); else return(s2);}main(){ int i;char string[20],str[3][20]; for(i=0;i<3;i++) ge...
【单选题】有以下程序 #includ2<stdio.h> #include<string.h> main() { char b1[8]='abcdefg',b2[8],*pb=b1+3, while(--pb>b1)strcpy(b2,pB) ; printf('%d/n',strlen(b2)); } 程序运行后的输出结果是( )
【简答题】For one reason or another, people’s exposure to the media is often ________.
【判断题】another reason for british decline is the loss of its colonies,especially india,which gained its independence in 1 947. ii ()
【简答题】Another reason is that, thanks to modern medicine and higher living standard, people live longer now.
【单选题】有以下程序,程序中库函数islower(ch)用以判断ch中的字*是否为小写字* include<stdio.h> include<ctype.h> yoidfun(char*p) {inti=0; while(p[i]) {iffp[i]=&&islower(p[i-1]))p[i-1]=p[i-1]=p[i-1]-a+A; i++: } } main( ) {chars1[100]=abcdE...
【简答题】If you’re turned down for an increase, ask for a reason and another review in six months.(翻译)