WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?

Answer Posted / vini sharma

malloc()
allocates byte of memory and calloc() allocates block of
memory.

Is This Answer Correct ?    50 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2271


Write a code to determine the total number of stops an elevator would take to serve N number of people.

728


Explain the binary height balanced tree?

726


What is the -> in c?

585


Write a Program to find whether the given number or string is palindrome.

613






Is r written in c?

724


Is c is a high level language?

621


What are linker error?

614


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

648


What is logical error?

605


Do you know the purpose of 'register' keyword?

642


Is there any data type in c with variable size?

633


What is the difference between far and near in c?

602


Is python a c language?

552


How do we open a binary file in Read/Write mode in C?

680