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 the difference between single charater constant and string constant?

0 Answers  


What is the purpose of sprintf?

0 Answers  


Explain setjmp()?

0 Answers  


What is the best way of making my program efficient?

0 Answers  


6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture,


In C language, a variable name cannot contain?

0 Answers  


what is printf

5 Answers   MVSR, Satyam,


what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }

1 Answers  


Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

0 Answers  


Write a program in c to input a 5 digit number and print it in words.

11 Answers  


can we declare a function in side the structure?

2 Answers   HCL,


Categories