Difference between realloc() and free?

Answer Posted / jayasrinivas.donavalli

realloc() can be use to reallocation of the memory if the
memory already created is insufficient,
but free can be used to destroy the memory which was
already created

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by multiple inheritance?

738


Whats oop mean?

595


Plese get me a perfect C++ program for railway/airway reservation with all details.

3429


How oops is better than procedural?

587


What are the types of abstraction?

557






What are main features of oop?

633


What are the benefits of polymorphism?

624


What is a function in oop?

631


Is enum a class?

607


Why is abstraction used?

607


write a program that takes input in digits and display the result in words from 1 to 1000

1989


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2147


write a program to find 2^n+1 ?

1549


What is constructor overloading in oop?

607


What are the features of oop?

639