Multiple choice

Which of the following is not true about memory management function in C language?

  1. The malloc() function takes a single argument.

  2. The calloc() function takes two arguments.

  3. The calloc() function initialises memory to the allocated memory blocks but malloc() does not initialise the memory to the allocated blocks.

  4. The realloc() function can increase or decrease the size of the allocated memory.

  5. None of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Yes, all of the above options are the true statements.