MCQOPTIONS
Bookmark
Saved Bookmarks
→
Memory Allocation
→
General
→
The function ____ obtains block of memory dynamica...
1.
The function ____ obtains block of memory dynamically.
A.
calloc
B.
malloc
C.
Both a & b
D.
free
Answer» D. free
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
On freeing a dynamic memory, if the pointer value is not modified, then the pointer points to?
Which of the following will return a result most quickly for searching a given key?
Which one is used during memory deallocation in C?
Why do we write (int *) before malloc? int *ip = (int *)malloc(sizeof(int));
Memory allocation using malloc() is done in?
What is the output of this C code? void main() { char *p = calloc(100, 1); p = "welcome"; printf("%s n", p); }
In function free(p), p is a:
calloc() returns a storage that is initialized to.
Which function is used to delete the allocated memory space?
Among 4 header files, which should be included to use the memory allocation functions like malloc(), calloc(), realloc() and free()?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies