Compiler-Design
February 13, 2024Compiler-Design
February 13, 2024Compiler-Design
Question 23 |
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 23 Explanation:
Compiler is use dynamic memory allocation then the memory will be allocated to an array at runtime.
Correct Answer: C
Question 23 Explanation:
Compiler is use dynamic memory allocation then the memory will be allocated to an array at runtime.
Subscribe
Login
0 Comments