A language L allows declaration of arrays whose sizes are not known during compilation. It is required to make efficient use of memory. Which one of the following is true ?
A. a compiler using dynamic memory allocation can be written for L
B. a compiler cannot be written for L ; an interpreter must be used
C. a compiler using static memory allocation can be written for L
D. none of these
Answer:A
A language L allows declaration of arrays whose sizes are not known during compilation. It is required to make efficient use of memory. Which one of the following is true ?
A. a compiler using dynamic memory allocation can be written for L B. a compiler cannot be written for L ; an interpreter must be used C. a compiler using static memory allocation can be written for L D. none of these