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

code for copying two strings with out strcpy() function.

6 Answers  


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

0 Answers   Microsoft,


what are the 10 different models of writing an addition program in C language?

0 Answers  


WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 Answers  


FILE PROGRAMMING

0 Answers   Wipro,


Write a program of advanced Fibonacci series.

0 Answers   Aspiring Minds,


Place the #include statement must be written in the program?

0 Answers  


Determine if a number is a power of 2 at O(1).

2 Answers  


How can I automatically locate a programs configuration files in the same directory as the executable?

0 Answers  


Write a program to reverse a given number in c?

0 Answers  


Given an unsigned integer, find if the number is power of 2?

5 Answers  


What is scope rule of function in c?

0 Answers  


Categories