MCQOPTIONS
Saved Bookmarks
| 1. |
Select the right statement with reference to malloc() and calloc(). |
| A. | malloc() does not set the memory to zero whereas calloc() sets allocated memory to zero |
| B. | malloc() sets the memory to zero whereas calloc() does not set allocated memory to zero |
| C. | malloc() sets the memory to zero whereas calloc() sets allocated memory to zero |
| D. | malloc() does not set the memory to zero whereas calloc() does not set allocated memory to zero |
| Answer» B. malloc() sets the memory to zero whereas calloc() does not set allocated memory to zero | |