What is the difference between "calloc" and "malloc"?

Answer Posted / edwin

malloc - create the memory space

calloc-calculate the memory space

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How come you find out if a linked-list is a cycle or not?

573


What are c++ variables?

540


how to access grid view row?

1814


What is the cout in c++?

554


What can I use instead of namespace std?

643






Explain the use of vtable.

618


What does it mean to declare a member function as static?

611


How are virtual functions implemented in c++?

605


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

691


Should you pass exceptions by value or by reference?

698


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

613


What is the difference between a pointer and a link in c ++?

568


Are iterators pointers?

679


Can a constructor be private?

584


What is the best way to take screenshots of a window with c++ in windows?

569