A.char str[]="hello"; B.char str[100]="hello"; C.char str[]={’h’,’e’,’l’,’l’,’o’}; D.char str[]={’hello’};
A.A B.a C.Z D.c
若运行时给变量x输入12,则以下程序的运行结果是() main() {intx,y; scanf("%d",&x); y=x>12x+10:x-12; printf("%d\n",y); }
A.0 B.22 C.12 D.10