Question: Which of the following statements are true or false? Statement 1: Compile time storage of a variable is allocated and released by the compiler depends
Which of the following statements are true or false?
Statement 1: Compile time storage of a variable is allocated and released by the compiler depends on the scope of variable and lifetime of a variable.
Statement 2: In dynamic allocation, the programmer is responsible to release the space when it is not required.
A. Statement 1 is false and Statement 2 is true
B. Statement 2 is false and Statement 1 is true
C. Statements 1 and 2 are false
D. Statements 1 and 2 are true
Step by Step Solution
3.31 Rating (151 Votes )
There are 3 Steps involved in it
D Explanation In dynamic allocation ... View full answer
Get step-by-step solutions from verified subject matter experts
