【简答题】The statement int * p = new int [10]; creates a dynamic array. Which of the following is used
to destroy it?A. delete p; B. delete p[]; C. delete[] p; D. free(p);
【简答题】如果复数(m 2 +i)(1+mi)是实数,则实数m=( )。
【单选题】Statements int * p = & k; Pointer p is defined, and the statement sequence equivalent to this statement is ( ).
【单选题】Suppose a method p has the following heading: public static int[][] p() What return statement may be used in p()?
C.
return int[]{1, 2, 3};
D.
return new int[]{1, 2, 3};
E.
return new int[][]{{1, 2, 3}, {2, 4, 5}};
【单选题】— _______ are you? — I'm 1.7 metres tall. [ ]
【判断题】参加社会劳动、受教育和获得物质帮助既是公民的权利,也是公民的义务。( )
【单选题】单项选择。 — _______ are you? — I'm 1.7 metres tall. [ ]
【单选题】Suppose a method p has the following heading: public static int[][] p() What return statement may be used in p()?
C.
return new int[]{1, 2, 3};
D.
return new int[][]{{1, 2, 3}, {2, 4, 5}};
【简答题】如果 -(m 2 -3m)i≥-1,求自然数m、n的值。