有以下程序
void main( )
{ char k;int i;
for(i=1;i<3;i++)
{ scanf("%c",&k);
switch(k)
{ case '0': printf("another\n");
case '1': printf("number\n");}
}
}
程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是( )
A、another B、another C、another D、number
number number number number
another number
有以下程序
#include
main()
{ int a,b,c=246; a=c/100%9; b=(-1)&&(-1);
printf("%d,%d\n",a,b); }
输出结果是
A. 2,1 B. 3,