有以下程序: include <stdio.h> struct N0DE {int hum;struct N0DE*nex
A.10
B.20
C.30
D.40
A.10
B.20
C.30
D.40
有以下程序
#include<stdio.h>
main()
{ int a=7;
while(a--);
printf("%d\n",a);
}
程序运行后的输出结果是
A.-1
B.0
C.1
D.7
有以下程序: #include <stdio.h> main() { int a [10]={1,2,3,4,5,6,7,8,9,10},*p=&a[3], *q=p+2; prinff("%d\n";*p+*q); } 程序运行后的输出结果是()。
A.16
B.10
C.8
D.6
有以下程序 #include <stdio.h> int fun(int a, int b) { if(b==0) return a; else return(fun(-a,-b)); } main() { printf("%d\n",fun(4,2)); } 程序的运行结果是______。
A.1
B.2
C.3
D.4
有以下程序
#include<stdio.h>
main()
{char s[]="159",*P;
p=s;
printf("%C",*p++);
printf("%C",*p++);
}
程序运行后的输出结果是______。
有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); } 程序运行后的输出结果是()。
A.tuv
B.字符t的ASCIl码值
C.t
D.出错
有以下程序#include <stdio.h>main() { int x=1, y=2, z=3; if(x>y) if(y<z) printf("%d", ++z); else printf("%d", ++y); printf("%d\n", x++);}程序的运行结果是A.331 B.41 C.2 D.1
有以下程序 include<stdio.h> yoidfun(char**p) {++p;printf(%sha,*p);} main() {char*a[]=(Morning,Aftemoon,Eyening,Night); fun(a); } 程序的运行结果是
A.ffemoon
B.Morning
C.oming
D.Afternoon