【简答题】main() { int a, b; scanf( " % d ", & a ); scanf( " % d ", & b ); swap( a, b ); } swap( int a, int b ) { int t; t = a; a = b; b= t; printf( " a = % d,b= % d\ n ", a, b ); } 运行时输入 10 0 , 2...
【单选题】a 是 int 类型变量, c 是字符变量,下列输入语句中哪一个是错误的( )。 A . scanf("%d,%c",&a,&c); B . scanf("%d%c",a,c); C . scanf("%d%c",&a,&c); D . scanf("d=%d,c=%c",&a,&c);
【单选题】We couldn't really afford to buy a house so we got it on fore purchase and paid monthly ______.
【单选题】We couldn't really afford to buy a house so we got it on hire purchase and paid mothly ____.
【单选题】执行以下程序时输入: 123456789 输出结果是( )。 #include "stdio.h" main( ) { char t[100],a; int i; scanf("%c",&a); scanf("%d",&i); scanf("%s",t); printf("%c,%d,%s\n",a,i,t); }
【单选题】—In those days, TVs were really expensive, and I couldn't . —Neither could we. [ ]
【单选题】有以下程序: include main( ) { int a; scanf("%d",&a); if(a++<9)printf("%d /n",a); clsc printf("%d/n",a--); } 程序运行时从键盘输入9,则输出结果是( )。
【简答题】#include void main() { int a,b; printf("Enter integer a:"); scanf("%d",&a); printf("Enter integer b:"); scanf("%d",&b); if(a= =b) printf("a==b\n"); else printf("a!=b\n"); } 运行: Enter integer a:15 ¿...
【单选题】It is really a wonder. We just couldn't believe the new station ________ so big and spacious, full of all kinds of modern facilities we can think about.