Q:

calloc(m, n); is equivalent to

0

calloc(m, n); is equivalent to


  1. ptr = malloc(m*n); strcpy(p, u);
  2. memset(0, m*n);
  3. ptr = malloc (m*n); memset (p, 0, m*n);
  4. All of the above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

ptr = malloc (m*n); memset (p, 0, m*n);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
Which of the following comments about arrays and p... >>
<< which header file is the NULL macro defined?...