aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Information Technology Mixed Test - 12
  • Which of the following memory allocation functions frees ...
Multiple choice

Which of the following memory allocation functions frees a block of allocated memory in 'C'?

  1. malloc()

  2. new()

  3. free()

  4. delete()

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

This function is used  to free a block of allocated memory in 'C' program.

Keep practicing — related questions

  • Which of the following functions is used to release the allocated memory which is no longer required?
  • With every use of a memory allocation function, what function should be used to release allocated memory wh...
  • In C++ the function that is used to release the block of memory already used is
  • Which of the following functions is used to modify the size of previously allocated space?
  • Name of the function which dynamically allocates the memory during the runtime.
  • void Free( struct node *ptr ) { while( ptr) { ???? } } Which one of the following can replace the ???? for ...
  • After we free an allocated memory block using free(), the pointer will become:
  • The function calloc is used
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Computer Memory and Storage (2121 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy