13,562 views

4 Answers

Best answer
58 58 votes

Dynamic means- at runtime. Dynamic memory allocation happens during the execution time and hence (A) is the answer.

• edited by
54 54 votes

Symbol table management is done during compilation to store and retrieve the information about tokens.

Type checking is one of the checks performed during the semantic analysis of compilation.

Inline expansion is a compiler optimization that replaces a function call by the body of the respective function.

Dynamic memory allocation is when an executing program request the operating system to give it a block of main memory, so it is performed during the run time not during compile time.

• edited by
6 6 votes

Option A: Dynamic memory allocation done at run time not at compile time. 

Option B and C: both done at compile time where type checking done by semantic analyzer phase and symbol table done by all the phase of compiler.

Option D:- Most of my friend thinking about what is the real work of option D so here is the explaination of option D 

“In computing, inline expansion, or inlining, is a manual or compiler optimization that replaces a function call site with the body of the called function. Inline expansion is similar to macro expansion, but occurs during compilation, without changing the source code (the text), while macro expansion occurs prior to compilation, and results in different text that is then processed by the compiler”.

SO CORRECT ANSWER IS OPTION A.

3 3 votes
Dynamic memory allocation happens at run time only. Compiler only compiles instructions for dynamic memory allocation like malloc(), calloc().
Answer:
Position:
Show:

Related questions

67 67 votes
4 answers 4 answers
20.4k
20.4k views
go_editor asked Sep 28, 2014
20,369 views
Which of the following statements are CORRECT?Static allocation of all data areas by a compiler makes it impossible to implement recursion. Automatic garbage collection i...
36 36 votes
4 answers 4 answers
17.1k
17.1k views
go_editor asked Sep 28, 2014
17,137 views
The number of distinct positive integral factors of $2014$ is _____________
93 93 votes
13 answers 13 answers
42.9k
42.9k views
go_editor asked Sep 28, 2014
42,850 views
Suppose a stack implementation supports an instruction $\text{REVERSE}$, which reverses the order of elements on the stack, in addition to the $\text{PUSH}$ and $\text{PO...
16 16 votes
3 answers 3 answers
10.8k
10.8k views
go_editor asked Sep 28, 2014
10,818 views
A graphical HTML browser resident at a network client machine $Q$ accesses a static HTML webpage from a HTTP server $S$. The static HTML page has exactly one static embed...