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 calloc() and realloc()?

Answer Posted / nashiinformaticssolutions

calloc() allocates memory and initializes it to zero.
realloc() resizes previously allocated memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Apart from dennis ritchie who the other person who contributed in design of c language.

1473


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1421


What is the size of empty structure in c?

1127


Write a program on swapping (100, 50)

1164


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1308


Explain the difference between the local variable and global variable in c?

1131


What is the best way to comment out a section of code that contains comments?

1386


What are reserved words with a programming language?

1198


What is the function of volatile in c language?

1184


Is it possible to pass an entire structure to functions?

1053


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2385


How can I write functions that take a variable number of arguments?

1186


Explain what are the advantages and disadvantages of a heap?

1124


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2572


How do you determine whether to use a stream function or a low-level function?

1189