Consider the following statements.
Which one of the following options is correct?
These statements are directly copied from Aho-ullman book page no 432. see here
https://codingninjas.com/studio/library/activation-tree-in-compiler-design
Correct Answer: C
$S_1$: Is true because to perform procedure calls, first parent function will call child functions and hence it resembles preorder.
$S_2$: Is true because to return parent function , we must return child functions first. Hence it resembles post order.
64.3k questions
77.9k answers
244k comments
80.0k users