如果外边距上为10px,右为5px,下为6px,左为20px那如何写语法()。
A: Amargin:10px 5px 8px 20px
B: Bmargin:10px 5px;
C: Cmargin:8px 20px
D: Dmargin:10px 5px 8px;
A: Amargin:10px 5px 8px 20px
B: Bmargin:10px 5px;
C: Cmargin:8px 20px
D: Dmargin:10px 5px 8px;
举一反三
- 有以下程序段:#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是
- 设置DIV宽为500像素和高为400像素的正确方法是? A: height:500 px; width:400 px; B: margin:500px; padding:400 px; C: padding:500 px;margin:400 px; D: width:500 px;height:400 px;
- 若变量已正确定义,表达式()可以使指针px指向变量x。 A: px=&x B: px=x C: *px=&x D: *px=*x