How will you free the memory allocated by the following program?

# include

#i nclude < stdio.h >

#define MAXROW 3

#define MAXCOL 4

int main()

{

int ** p, i, j;

p = (int **)malloc (MAXROW* size of (int*));

return 0:

}

1
memfree (int p);
2
dealloc (p);
3
malloc (p, 0);
4
free (p):

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation