Compiler-Design
February 13, 2024GATE 1997
February 13, 2024GATE 1997
Question 8 |
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?
A compiler using static memory allocation can be written for L | |
A compiler cannot be written for L; an interpreter must be used | |
A compiler using dynamic memory allocation can be written for L | |
None of the above |
Question 8 Explanation:
Compiler is use dynamic memory allocation then the memory will be allocated to an array at runtime.
Correct Answer: C
Question 8 Explanation:
Compiler is use dynamic memory allocation then the memory will be allocated to an array at runtime.
Subscribe
Login
0 Comments