• retagged by
1,562 views
0 0 votes
Consider the following sentences :

1. Static allocation binding do not change at run time

2. Heap Allocation allocate and deallocate at run time

Which of the above is true ?

1 Answer

Best answer
2 2 votes

Both the sentence is right. According to Aho-Ullman, Compiler Design book,

1) Static Allocation: It occurs before run-time and does not change during run-time

2) Dynamic Allocation: It occurs during run-time and changes during run-time

• selected by
Position:
Show:

Related questions

0 0 votes
1 1 answer
3.4k
3.4k views
eyeamgj asked Nov 15, 2018
3,376 views
TRUE/FALSE1.STATIC STORAGE ALLOCATION DOES NOT SUPPORT DYNAMIC DATA STRUCTURE.2.STACK STORAGE ALLOCATION DOES NOT SUPPORT DYNAMIC DATA STRUCTURE.
1 1 vote
1 1 answer
1.1k
1.1k views
MIRIYALA JEEVAN KUMA asked Jan 21, 2018
1,142 views
The drawback with stack storage allocation is when the function completes its execution its result cannot be used some point of time later.Can you please explain this bri...
8 8 votes
2 2 answers
243
243 views
GO Classes asked Jun 11
243 views
Given the following two files, what will happen when they are compiled and linked together?file1.c#include <stdio.h static void show() { printf("Hello"); }main.cvoid show...
1 1 vote
2 answers 2 answers
2.5k
2.5k views
Prince Sindhiya asked Dec 27, 2018
2,460 views
The two basic operations that are often performed with the symbol table are:1.Set and reset 2.Set and insert 3. Insert and lookup 4.Reset and lookup