有以下程序:point(char*p){p+=3;}main(){charb[4]={'a','b','c','d'},*p=b;point(p);printf("%c",*p);}程序运行后的输出结果是______。
A: a
B: b
C: c
D: d
A: a
B: b
C: c
D: d
举一反三
- 有以下程序: point( char木p) p+=3; main() char a[4]='1','2','3','4',*p=a; point(p); printf("%c\n",*p); 程序运行后的输出结果是 A: A) 1 B: B) 2 C: C) 3 D: D) 4
- 以下程序的输出结果是()。point(char*pt);main(){charb[4]={'m','n','o','p'},*pt=b;point(pt);printf("%c\n",*pt);}point(char*p){p+=3;} A: p B: o C: n D: m
- p>有以下程序[br][/br]main(){ inta[]={1,2,3,4,5,6,7,8,9,0},*p; for(p=a;p printf("%d,",*p);}程序运行后的输出结果是______。[br][/br]</p A: p>1,2,3,4,5,6,7,8,9,0, B: 2,3,4,5,6,7,8,9,10,1, C: 0,1,2,3,4,5,6,7,8,9, D: 1,1,1,1,1,1,1,1,1,1,
- 下面程序段的运行结果是()注意输出结果的格式#includevoidmain(){char*p=”abcdefgh”;p+=3;printf("%s",p);}
- 下面程序段的运行结果是( )。 char a[]="abcdefgh"; char *p=a; p+=3; printf("%d\n",strlen(strcpy(p,"ABCD"))); A: 8 B: 12 C: 4 D: 7