engineering recuitment NIC NIELIT Scientist B 2023 Mock Test Compiler Design Code Optimization Register Allocation
Consider the following set of statements:
S1: The run-time memory-management system must deal frequently with the allocation of space for objects the sizes of which are not known at compile time, but which are local to a procedure and thus may be allocated on the stack.
S2: In modern languages, objects whose size cannot be determined at compile time are allocated space in the heap.
Which of the above statements is/are true?
1
Only S1
2
Only S2
3
Both S1 and S2
4
Neither S1 nor S2