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()?

Answer Posted / glibwaresoftsolutions

 malloc(): Allocates a single block of memory without initializing it.
 calloc(): Allocates multiple blocks of memory and initializes them to zero.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I run c program?

1169


why do some people write if(0 == x) instead of if(x == 0)?

1073


Explain how do you sort filenames in a directory?

1041


Why c is called a mid level programming language?

1068


How does free() know explain how much memory to release?

1052


What is binary tree in c?

1103


Is it possible to have a function as a parameter in another function?

1078


Differentiate abs() function from fabs() function.

1012


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

2303


What oops means?

1001


Explain what is a program flowchart and explain how does it help in writing a program?

1097


Explain continue keyword in c

1019


What is sizeof array?

1056


how many errors in c explain deply

2087


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1089