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



What is the difference between calloc() and realloc()?..

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

More C Interview Questions

What is a C array and illustrate the how is it different from a list.

1 Answers   Amazon,


what is a void pointer?

2 Answers  


Should I learn data structures in c or python?

0 Answers  


What is the use of printf() and scanf() functions?

0 Answers  


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

0 Answers  


How can my program discover the complete pathname to the executable from which it was invoked?

0 Answers  


main() { float a=3.2e40; printf("%d",a); }

9 Answers   Satyam,


a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?

6 Answers   Geometric Software,


How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)

1 Answers   iLantus, Subex,


Q. where is the below variables stored ? - volatile, static, register

3 Answers   Bosch,


Write a program in C to print the alphabets in order as on a mobile phone.i.e:When 2 is pressed once 'a' prints and if it is pressed two times 'b' prints and so on.we have to print all the alphabets as on mobile phone like this.

1 Answers   Wipro,


What extern c means?

0 Answers  


Categories