retagged by
1,082 views
0 votes
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 ?
retagged by

1 Answer

Best answer
3 votes
3 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

Related questions

0 votes
0 votes
1 answer
1
eyeamgj asked Nov 15, 2018
2,222 views
TRUE/FALSE1.STATIC STORAGE ALLOCATION DOES NOT SUPPORT DYNAMIC DATA STRUCTURE.2.STACK STORAGE ALLOCATION DOES NOT SUPPORT DYNAMIC DATA STRUCTURE.
1 votes
1 votes
1 answer
2
MIRIYALA JEEVAN KUMA asked Jan 21, 2018
642 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...
1 votes
1 votes
2 answers
3
Prince Sindhiya asked Dec 27, 2018
1,593 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
1 votes
1 votes
1 answer
4
sripo asked Nov 3, 2018
2,081 views
Does Heap Allocation support both recursion and dynamic memory allocation? Because,a stack can be implemented using dynamic memory allocation.Please correct me.Test Serie...