914 views
0 votes
0 votes
Pick the incorrect statement about dynamic memory allocation

A. Only Free () function can deallocate the memory allocated by malloc()

B. If a dynamically allocated memory is not freed programmatically , it will hold the value till the program ends.

C. Malloc ( sizeof (char * )100) function returns a character pointer pointing to block of memory of 100 characters.

D. All are true

1 Answer

Related questions

0 votes
0 votes
0 answers
1