Consider the following set of statements:
1: Some code optimizations are carried out on the intermediate code because program analysis is more accurate on intermediate code than on machine code.
2. Static allocation of all data areas by a compiler makes it impossible to implement recursion.
3. Dynamic allocation of activation records is essential to implement recursion.
Which of the above statements is true?
1
1 and 2
2
1 and 3
3
1, 2 and 3
4
2 and 3
5
Question Not Attempted