In the C language, which of the following statements is true?

In the C language, which of the following statements is true?

  1. A.

    At most one activation record exists between the current activation record and the activation record for the main

  2. B.

    The number of activation records between the current activation record and the activation record for the main depends on the actual function calling sequence.

  3. C.

    The visibility of global variables depends on the actual function calling sequence.

  4. D.

    Recursion requires the activation record for the recursive function to be saved on a different stack before the recursive function can be called.

Attempted by 117 students.

Show answer

Correct answer: B

The worked solution is available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…