MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Interview
→
Date Time Function
→
In the function malloc(), each byte of allocated...
1.
In the function malloc(), each byte of allocated space is initialized to zero.
A.
True
B.
False
Answer» C.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The following C code is an example of __________
The free() function frees the memory state pointed to by a pointer and returns ___________
In the function realloc(), if the new size of the memory block is larger than the old size, then the added memory ___________
What will happens if the statement free(a) is removed in the following C code?
In the function malloc(), each byte of allocated space is initialized to zero.
What will be the output of the following C code if the input entered as first and second number is 5 and 6 respectively?
If the space in memory allocated by malloc is not sufficient, then an allocation fails and returns ___________
Garbage collector frees the programmer from worrying about ___________
When the pointer is NULL, then the function realloc is equivalent to the function ___________
What will be the error (if any) in the following C code?
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