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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are c preprocessors?

1174


What is a const pointer in c?

1119


Differentiate between the expression “++a” and “a++”?

1242


Difference between exit() and _exit() function?

1125


Explain how do you sort filenames in a directory?

1027


Why is C language being considered a middle level language?

1108


How do you search data in a data file using random access method?

1292


How can I dynamically allocate arrays?

1079


What is a char c?

1035


How to establish connection with oracle database software from c language?

2184


Differentiate between #include<...> and #include '...'

1043


Do you have any idea how to compare array with pointer in c?

1039


Is linux written in c?

1032


How to write c functions that modify head pointer of a linked list?

974


Distinguish between actual and formal arguments.

1063