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...

in malloc and calloc which one is fast and why?

Answer Posted / bobby sigh

malloc is more faster than calloc because malloc required
only const sign integer or datatype
while calloc required type,block
so malloc is more faster than calloc

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1171


what are the different storage classes in c?

1235


Is register a keyword in c?

1089


What are c preprocessors?

1246


Why & is used in scanf in c?

1147


What type is sizeof?

1087


Can I initialize unions?

1093


What is the purpose of the statement: strcat (S2, S1)?

1224


What is the explanation for the dangling pointer in c?

1179


Explain 'bus error'?

1166


How can I call fortran?

1102


‎How to define structures? · ‎

1149


Explain goto?

1207


Do you know what are bitwise shift operators in c programming?

1155


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1144