int x=1,y=2,z=3;则表达式(z z)的值为____。
查看答案
下面不正确的 if 语句是____。
A. if(a < b) a=b--;
B. if(a!=b) a=b; b++; else b--;
C. if(a>b) a=b;
D. if(a= =b) a+=b;
对switch结构正确的用法是____。
A. switch(n) { case 1:Console.WriteLine("yi"); }
B. switch(n) { case1:Console.WriteLine("yi"); }
C. switch(n) { case 1 Console.WriteLine ("yi"); }
D. switch[n] { case 1:Console.WriteLine ("yi"); }
int x=3,y,z; y=-x++; z=y+8/++x; Console.WriteLine{{0},{1},{2}",x,y,z); 此程序的输出结果是____。
A. 5,-3,-2
B. 4,-3,-1
C. 4,-4,-2
D. 5,-4,-2
语句Console.WriteLine("hello\\n!"); 输出为____。
A. hello\\n!
B. hello\
C. hello\!
D. hello\n!