Câu 1
Which is not a proper prototype?
Đáp án và lời giải
Đáp án: B
Đáp án: B
Đáp án: B
Which of the following is a valid function call (assuming the function exists)?
Đáp án: C
Which of the following is a complete function?
Đáp án: B
Đáp án: B
Đáp án: C
void main()
{
int x = 0;
switch(x)
{
case 1: printf( "One" );
case 0: printf( "Zero" );
case 2: printf( "Hello World" );
}
}
What is the result of the following code?
Đáp án: D
Đáp án: D
Đáp án: C
Đáp án: A
Đáp án: C
Đáp án: B
Đáp án: B
Đáp án: B
Đáp án: A
Đáp án: D
Đáp án: B
Đáp án: A
Đáp án: B
Which of the following is a two-dimensional array?
Đáp án: B
Đáp án: A
Which of the following gives the memory address of the first element in array arr, an array with 100 elements?
Đáp án: B
Đáp án: B
Đáp án: C
Đáp án: B