CS Electrical And Electronics
@cselectricalandelectronics

identify the valid usage of Malloc to create an Array of 10 integers, assuming inter size is for byte

All QuestionsCategory: Embedded Systemidentify the valid usage of Malloc to create an Array of 10 integers, assuming inter size is for byte
vaishnavi.talawar asked 3 years ago

a) Int “ptr=malloc(10);
b) Int “ptr=malloc(10,4);
c) Int “ptr=malloc(40);
d) Int “ptr=malloc(4,10);