adplus-dvertising
frame-decoration

Question

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

Posted under Systems Programming

Answer: (a).a compiler using dynamic memory allocation can be written for L

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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 ?

Similar Questions

Discover Related MCQs

Q. Generation of intermediate code based on a abstract machine model is useful in compilers because

Q. Function of the storage assignment is

Q. Disadvantage of " Compile and GO " loading scheme is that

Q. A programmer, by mistake, writes an instruction to divide, instead of a multiply, such error can be detected by a/an

Q. Compiler can diagnose

Q. System program such a s compiler are designed so that they are

Q. Compiler can check-

Q. A computer programe that converts the whole programe into machine language at a single time is called

Q. Storage mapping is done by

Q. A compiler which allows only the modified section of the source code to be re-compiled is called

Q. which of the following class of statements usually produces no executable code when compiled ?

Q. An ideal compiler should

Q. ud-chaining is useful for

Q. The cost of developing a compiler is proportional to

Q. The value of k, in LR(k) cannot be

Q. Pee hole optimization is a form of

Q. Minimum hamming distance method is used for connection of

Q. Which of the following statement is true?

Q. The action of parsing the source program into the proper syntactic classes is called

Q. Which of the following grammar rules violate the requirements of an operator grammar ?
P, Q, R are nonterminals, and r, s, t are terminals.

1. P → Q R
2. P → Q s R
3. P → ε
4. P → Q t R r