题库 第5998页
单选题:字符串常量”ab\n\\cde\125”包含字符个数是()。
字符串常量”ab\n\\cde\125”包含字符个数是()。 @[B](1)A. 13B. 8C. 9D. 12A.13B.8C.9D.12答案:B…
单选题:一个C语言源程序中,main()函数的位置()
一个C语言源程序中,main()函数的位置() @[D](1)A. 必须在其他所有函数之后B. 必须在其他所有函数之前C. 必须在固定的位置上D. 可以在任意位置A.必须在其他所有函数之后B.必须在其他所有函数之前C.必须在固定的位置上…
单选题:In order to convert the infix expression `4 * 3 + (6 * 3 - 12)`
In order to convert the infix expression `4 * 3 + (6 * 3 - 12)` to postfix expression using a stack $$S$$, then the mini…
单选题:In order to convert the infix expression `4 + 3 * (6 * 3 - 12)`
In order to convert the infix expression `4 + 3 * (6 * 3 - 12)` to postfix expression using a stack $$S$$, then the mini…
单选题:若int a[5][6]; 则数组a中第10个元素是()。
若int a[5][6]; 则数组a中第10个元素是()。 @[C](1)A. a[2][5]B. a[2][3]C. a[1][3]D. a[1][5]A.a[2][5]B.a[2][3]C.a[1][3]D.a[1][5]答案:C…
单选题:下面叙述中正确的是()。
下面叙述中正确的是()。 @[B](1)A. 若int a=3, b=2, c=1; f=a˃b˃c; 则f值为真B. 若int m=0, n=1, a=1, b=2, c=3;(m=a˃b)&&(n=c˃4),则n值为真C. 若 in…
单选题:Following is the C-like pseudo code of a function that takes a Q
Following is the C-like pseudo code of a function that takes a Queue as an argument.```void foo(Queue Q){ Stack S = C…
单选题:Following is the C-like pseudo code of a function that takes a Q
Following is the C-like pseudo code of a function that takes a Queue as an argument.```void foo(Queue Q){ Queue Q1 =…
单选题:下列程序的输出结果是
下列程序的输出结果是 @[C](3)```int fun(int x) { static int a = 3; a += x; return (a);}int main(){ int k = 2, m = 1, n; n = fu…
单选题:判断字符串 a 和 b 是否相等,应当使用()。
判断字符串 a 和 b 是否相等,应当使用()。 @[D](1)A. if (a==b)B. if (a=b)C. if (strcpy(a,b))D. if (strcmp(a,b)==0)A.if (a==b)B.if (a=b)C…