设int a=0,b=5,c=2;选择可执行x++的语句是() 。 A.if(a) x++;B. if(a=b) x++;C. if(a =D. if(!(b-c)) x++;
设int a=0,b=5,c=2;选择可执行x++的语句是() 。
A.if(a) x++;
B. if(a=b) x++;
C. if(a =< b) x++;
D. if(!(b-c)) x++;
相关考题:
下列数组初始化语句哪些是正确的A.int[] nums = new int[]{0,1,2,3,4}B.int[] nums2 = {0,1,2,3,4,5}C.int[][] num_1 = {new int[]{0,1},new int[]{0,1,2},new int[]{0,1,2,3}}D.int[][] num_2 = {{0,1},{0,1,2},{0,1,2,3}}
下列数组初始化语句哪些是正确的A.int[] nums = new int[]{0,1,2,3,4};B.int[] nums2 = {0,1,2,3,4,5};C.int[][] num_1 = {new int[]{0,1},new int[]{0,1,2},new int[]{0,1,2,3}};D.int[][] num_2 = {{0,1},{0,1,2},{0,1,2,3}};
有以下语句: int a[5]={0,1,2,3,4,5},i; int *p=a; 设0≤i<5,对a数组元素不正确的引用是()。A.*(a[i])B.a[p-a]C.*(*(a+i))D.p[i]
16、设有语句int b[3][4]; 下面哪一条语句是正确的?A.int *p[] = {b[0], b[1], b[2]};B.int *p[] = b;C.int *p[2] = {b[0], b[1], b[2]};D.int *p[] = (int *[])b;
若$y, $x为int型变量,则执行以下语句后,$y的值为()。 <?php $x=1; ++$x; $y = $x++; ?>A.1B.2C.3D.0