假定所有变量均已正确说明 执行以下程序段时 从键盘上输入1和2 则结果是 。 int a b s; scanf(\%d
已帮助 人
假定所有变量均已正确说明,执行以下程序段时,从键盘上输入1和2,则结果是 。 int a,b,s; scanf("%d%d",&a,&b); s=a; if(a<b) s=b; s=s*s; printf("%dn",s);
A.1
B.4
C.2
D.9

回答
共1条回复-
B
