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

Answers were Sorted based on User's Feedback



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

Answer / nashiinformaticssolutions

• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / glibwaresoftsolutions

• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


parkside's triangle.. create a program like this.. enter the size: 6 enter the seed: 1 output: 1 23 456 7891 23456 789123 sample2: enter the size: 5 enter the seed: 3 output: 3 45 678 9123 45678 parkside should not exceed 10 while its seed should only be not more than 9..

4 Answers  


C passes By value or By reference?

5 Answers   Geometric Software, Infosys,


can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 Answers  


What is the use of a ‘’ character?

0 Answers  


How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,


what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,


write a program to print sum of each row of a 2D array.

4 Answers  


Can you define which header file to include at compile time?

0 Answers   Aspire, Infogain,


array of pointer pointer to array pointer to pointer

1 Answers   MAHINDRA,


yogesh patil in dell

3 Answers   DELL,


difference between function & structure

9 Answers   Verizon,


Categories