The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+14 votes

Which one of the following is NOT performed during compilation?

  1. Dynamic memory allocation
  2. Type checking
  3. Symbol table management
  4. Inline expansion
asked in Compiler Design by Veteran (103k points) | 1.3k views

3 Answers

+27 votes
Best answer

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

answered by Veteran (358k points)
edited by

if option D) will be macro expansion, in place of inline expansion, then ans can be any one of A) or D) .

+17 votes

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

Type checking is one of the check performed during semantic analysis of
Inline expansion is a compiler optimization that replaces a function call by the bodyof
respective function.
Dynamic memory allocation is when an executing pregoram request the oprating system to
give it a block of main memory, so ti is performed during sum time not during complete time.

answered by Active (2.1k points)
+2 votes
Dynamic memory allocation happens at run time only. Compiler only compiles instructions for dynamic memory allocation like malloc(), calloc().
answered by Loyal (8.5k points)

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

40,845 questions
47,506 answers
62,261 users