Question: Select the right statement with reference to malloc() and calloc().

Options

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

Click to view Correct Answer

Next

C Multiple Choice General Utilities more questions

Name the bone that rests upon the lower end of....

When the pointer is NULL, then the function realloc is....

Which of the following functions allocates multiple blocks of memory,....

The ________ function returns no value.

Which are the system calls which are used by the....

void free(void *ptr) deallocates the memory previously allocated by a....

Which one of the following is the activity of the....

Which of the following is not a dicarboxylic acid?

Which of the following is a substrate specific enzyme?

Which of the following is a Wireless traffic Sniffing tool?

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Multiple Choice Conditional Preprocessor Directives

C Multiple Choice Date Time Function

C Multiple Choice Diagnostics

C Multiple Choice Enums

C Multiple Choice File Operations

C Multiple Choice Implementation Defined Limits

C Multiple Choice Mathematical Functions

C Multiple Choice Non Local Jumps

C Multiple Choice Printf

C Multiple Choice Scanf