Introduction to Programming

Question #30

Read the question, compare the options, and review the correct answer below.

CS201 · Midterm#30

Which of the following function do NOT initialize the chunk of memory to all zero?

  1. A
    calloc() function
  2. B
    Both malloc() and calloc()
  3. C
    None of the above
  4. D
    malloc() function
Show correct answer

Correct answer: D. malloc() function

Check community answers against your course notes.
← More practice questionsTake a timed test