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 / priya

malloc() allocates bytes of memory for a single block
whereas calloc() allocates blocks of memory for multiple
blocks

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a c program to demonstrate character and string constants?

2192


What is string concatenation in c?

1094


Why is c called c?

1025


Explain the use of fflush() function?

1085


What are reserved words?

1112


Explain b+ tree?

1072


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1070


Explain what is the benefit of using an enum rather than a #define constant?

1223


Why doesnt that code work?

1182


Explain what is wrong with this program statement?

1120


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

2463


How can I do graphics in c?

1035


What is the process to create increment and decrement stamen in c?

1061


What is 1f in c?

2663


What is wrong with this program statement?

1042