How does free know the size of memory to be deleted


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

What does it mean to declare a member function as static in C++?

0 Answers   Amazon,


What is wrong with this statement? std::auto_ptr ptr(new char[10]);

0 Answers   Amazon,


Write a program to generate the Fibonocci Series in C++.

0 Answers   Accenture,


Write a C++ Program to Check Whether a character is Vowel or Consonant.

2 Answers  


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

0 Answers   Amazon,






What does it mean to declare a function or variable as static?

0 Answers   Amazon,


What does malloc return in C and C++?

0 Answers   Alter,


When would you choose to return an error code rather than throw an exception?

0 Answers   Amazon,


Write a program that ask for user input from 5 to 9 then calculate the average

0 Answers   IBS,


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


What is constant keyword in C++? Illustrate its various uses.

0 Answers   Akamai Technologies, Infogain,


Is deconstructor overloading possible? If yes then explain and if no Then why?

1 Answers  


Categories