Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / madan gopal singh

malloc() is a one argument function while calloc() is two
argument function
malloc() take garbage value at initial time while calloc()
take null values at initial time

Is This Answer Correct ?    27 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of data structures in c?

1112


How would you obtain the current time and difference between two times?

1237


write a c program in such a way that if we enter the today date the output should be next day's date.

2137


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1674


Explain how do you sort filenames in a directory?

984


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1110


What is gets() function?

1074


Tell me is null always defined as 0(zero)?

1034


What are runtime error?

1079


what is recursion in C

1019


What are the 3 types of structures?

980


What is the return type of sizeof?

1026


Can 'this' pointer by used in the constructor?

1044


What is the value of h?

988


Explain two-dimensional array.

1011