What is the difference between malloc, calloc and realloc?


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

Post New Answer

More C++ Interview Questions

dynamic scoping is

0 Answers   Siemens,


Define an Abstract class in C++?

0 Answers  


What is the difference between creating an object, using 'new' and using 'malloc'?

3 Answers   HFG, Siemens,


Factory Method C++ – How to delete pointers returned by it

0 Answers  


Implement a 2D bit-matrix representing monochrome pixels which will have only OFF/ON values and will take on an average only one bit of memory for each stored bit. How to perform various operations on it?

0 Answers   Adobe,






How does stack look in function calls? When does stack overflow? What can you do to remedy it?

0 Answers   Adobe,


What Is Polymorphism in C++ ?

1 Answers   IBS, Impetus, ITC Indian Tobacco Company, Motorola,


How to delete array of objects in C++? Proof by C++ code for proper deletion

0 Answers  


How can you force the compiler to not generate them?

0 Answers   Amazon,


write a program To generate the Fibonacci Series.

0 Answers   Accenture,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


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

0 Answers   Amazon,


Categories