A language L allows declaration of arrays whose sizes are not known during…

GATE · 1997 · CS · Question 1 subparts

A language L allows declaration of arrays whose sizes are not known during compilation. It is required to make efficient use of memory. Which of the following is true?

  1. A.

    A compiler using static memory allocation can be written for L

  2. B.

    A compiler cannot be written for L, an interpreter must be used

  3. C.

    A compiler using dynamic memory allocation can be written for L

  4. D.

    None of the above

Attempted by 392 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…