Question: Which of the following statements are true or false? Statement 1: malloc () is static memory management function having return type as void *. Statement
Which of the following statements are true or false?
Statement 1: malloc () is static memory management function having return type as void *.
Statement 2: malloc () function reserves the memory dynamically on heap partition.
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
There are 3 Steps involved in it
A Explanation malloc is d... View full answer
Get step-by-step solutions from verified subject matter experts
