Question: Which of the following statements is false or true? 1. malloc() function having return type as void * which is generic pointer. 2. malloc ()

Which of the following statements is false or true?

1. malloc() function having return type as void * which is generic pointer.

2. malloc () function requires only one argument which is size in integer.

A. Statement 1 is false 

B. Statement 2 is false 

C. Statements 1 and 2 are false 

D. Statements 1 and 2 are true

Step by Step Solution

3.45 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!