Question: Which of the following statements are true or false? Statement 1: The realloc () function alters the size of the space already assigned. Statement 2:

Which of the following statements are true or false?

Statement 1: The realloc () function alters the size of the space already assigned.

Statement 2: The malloc () function assigns space for an array of elements, initializes them to zero. 

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.33 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

B Explanation The c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Data Structures and Other Objects Using Java Questions!