若有以下说明:int x[9]={1,2,3,4,5,6,7,8,9}; char c='a',d,f;则数值为3的表达式是( )
A: x[f-c]
B: x['c'-'d']
C: x['c'-c]
D: x[3]
A: x[f-c]
B: x['c'-'d']
C: x['c'-c]
D: x[3]
举一反三
- 若有以下说明:int x[9]={1,2,3,4,5,6,7,8,9}; char c='a',d,f;则数值为3的表达式是( ) A: x[f-c] B: x['c'-'d'] C: x['c'-c] D: x[3]
- 若有以下程序段,则数值为3的表达式( )。int x[12]={1,2,3,4,5,6,7,8,9,10};char c=‘a’;char d='d',f; A: x[d-c] B: x['d'-'b'] C: x[3] D: x['d'-c]
- 中国大学MOOC: 若有以下说明:int x[9]={1,2,3,4,5,6,7,8,9}; char c=a,d,f;则数值为3的表达式是( )
- 设函数$y = f({x^3})$可导,求函数的二阶导数$y'' = $( ) A: $6xf'({x^3}) + 9{x^4}f''({x^3})$ B: $6f'({x^3}) + 9{x^3}f''({x^3})$ C: $6xf'({x^3}) + 9{x^3}f''({x^3})$ D: $6{x^2}f'({x^3}) + 9{x^3}f''({x^3})$
- 如下函数的返回值是___________def test(): temp=[1,2,3,4,5,6,7,8,9,10] return [x for x in temp if x%3==2] A: [2, 5, 8] B: [1, 3, 6] C: [3, 6, 9] D: [1, 4, 7]