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

malloc used to static memory allocation &
calloc is used to dyanmic memory allocation

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define VARIABLE?

1162


What is atoi and atof in c?

1082


What does the error 'Null Pointer Assignment' mean and what causes this error?

1213


Explain what is a stream?

1083


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1076


Explain what is the difference between #include and #include 'file' ?

1018


Define Spanning-Tree Protocol (STP)

1125


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

1089


How can you tell whether two strings are the same?

1250


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

1068


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

2054


How do you determine the length of a string value that was stored in a variable?

1119


What are the different types of linkage exist in c?

1029


Explain what is output redirection?

1186


Who is the founder of c language?

1162