Aliensbrain
  • Home
  • Topics
  • Quizzes
  • Notebooks
  • Community
  • Sign in
  • programming languages Online Quiz - 54
  • Which of the following differences between malloc and calloc ...

Which of the following differences between malloc and calloc are true? 1) malloc allocates number of bytes passed as argument 2) calloc allocates the product of number of elements multiplied by the size of each element, which are both passed as arguments. 3) both malloc and calloc return void* 4) both malloc and calloc initialize allocated memory to all 0

technology programming languages
  1. 1, 2, 3, 4

  2. 1, 2, 3

  3. 1,2

  4. 1


Show answer
Correct Option: B

Find more quizzes:

© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy