01 (Common Mistakes)



Answer: D
Explanation:
For option C: Memory addresses can be accessed directly through pointers.
For option D: Although there is no strict limit on the number of statements within a function in C, it is actually constrained by the compiler or system resources.
02



Answer: C
Explanation: Omitted
03



Answer: A
Explanation: Omitted
04



Answer: B
Explanation: Omitted
05



Answer: B
Explanation: Omitted
06



Answer: C
Explanation: Omitted
07



Answer: B, D
Explanation: Omitted
08



Answer: D
Explanation: Omitted
09



Answer: None
Explanation:
(x≥15 && x≤80) ∣∣ (x≥−5 && x≤−1)
10



Answer: C
Explanation: Omitted
11



Answer: D
Explanation: Omitted
12



Answer: A
Explanation: Omitted
13



Answer: A
Explanation: Formal parameters cannot be constants.
14



Answer: C
Explanation: Array pointer.
15



Answer: None
Explanation: Please skip this question.
16



Answer: B, C
Explanation:
For option B: a is the name of the array, which is a pointer constant, and the increment operator applies to variables.
For option C: Out of bounds.
17



Answer: D
Explanation: In C language, function pointers are used to point to a function, and their definition must match the return type and parameter list of the target function.
18



Answer: A
Explanation: Omitted
19



Answer: D
Explanation:
For option A: “ab” appends to a binary file, cannot read.
For option B: “rb” reads a binary file.
For option C: “wb+” creates or clears a binary file, supports reading and writing.
For option D: “rb+” opens a binary file, supports reading and writing.
20

A C program generates a ____ program after compilation, and a ____ program after linking.

Answer: Object; Executable
Explanation: Omitted
21
Answer: 5.5
Explanation:
22
Answer: 1,0
Explanation: Short-circuit behavior of logical AND.
23
Answer: 2
Explanation: Omitted
24 (Common Mistakes)
Answer: E
Explanation: Omitted
25
Answer: 2
Explanation: Omitted
26
Answer: cd
Explanation: Omitted
27
Answer: Merry
Explanation:
28
Erratum: for(j=0;j<4;j++)
Answer:
1234
1234
1234
1234
1234
Explanation: Omitted
29
Answer: 26
Explanation: Omitted
30
Answer: how
Explanation: Omitted
31
Answer: 270.00
Explanation: Omitted
32
Answer: 5745
Explanation: Omitted
33
Answer: 9911
Explanation: Omitted
34 (Programming Question)
Answer:
Explanation: Omitted
35 (Programming Question)
Answer:
Explanation: Omitted
36 (Programming Question)
There is a circle with its center at the origin and a radius of 10. Write a program to output the coordinates of all integer points (i.e., points where both the x and y coordinates are integers) within the circle.
Answer:

Explanation: Omitted