阅读下面CSS代码,下面选项中与该代码效果等同的是.box{margin:10px5px;marin-right:10px;margin-top:5px;}A..box{margin:5px10px10px5px;}B..box{margin:5px10px0px0px;}C..box{margin:5px10px;}D..box{margin:10px5px10px5px;}
举一反三
- 阅读下面CSS代码,下面选项中与该代码效果等同的是.box{margin:10px5px;marin-right:10px;margin-top:5px;}A..box{margin:5px10px10px5px;}B..box{margin:5px10px0px0px;}C..box{margin:5px10px;}D..box{margin:10px5px10px5px;}
- 有以下程序段:#include int main(){int x[ ] = {10, 20, 30}; int *px = x;printf("%d, ", ++*px); printf("%d, ", *px); px = x;printf("%d, ", (*px)++); printf("%d, ", *px); px = x;printf("%d, ", *px++); printf("%d, ", *px); px = x;printf("%d, ", *++px); printf("%d\n", *px);return 0;}程序运行后的输出结果是( ) A: 20, 10, 11, 10, 11, 10, 11, 10 B: 11, 11, 11, 12, 12, 20, 20, 20 C: 20, 10, 11, 20, 11, 12, 20, 20 D: 11, 11, 11, 12, 12, 13, 20, 20
- 有以下程序段:#include stdio.hint main(){int x[ ] = {10, 20, 30}; int *px = x;printf(%d, , ++*px); printf(%d, , *px); px = x;printf(%d, , (*px)++); printf(%d, , *px); px = x;printf(%d, , *px++); printf(%d, , *px); px = x;printf(%d, , *++px); printf(%d\n, *px);return 0;}程序运行后的输出结果是( )。 A: 11, 11, 11, 12, 12, 20, 20, 20 B: 20, 10, 11, 10, 11, 10, 11, 10 C: 11, 11, 11, 12, 12, 13, 20, 20 D: 20, 10, 11, 20, 11, 12, 20, 20
- 程序:char xdata *pX; pX = 0xA0; *pX = 0x80,其中pX是
- 若变量已正确定义,表达式()可以使指针px指向变量x。 A: px=&x B: px=x C: *px=&x D: *px=*x