Memory Allocation

Q1:
What function should be used to free the memory allocated by calloc() ?

A dealloc();

B malloc(variable_name, 0)

C free();

D memalloc(variable_name, 0)

ANS:A - dealloc();

In c++ editor goto help and look for alloc.h.

In that header file examples are given.  



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.