When should overload new operator on a global basis or a class basis?


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

Post New Answer

More C++ General Interview Questions

What are the differences between public, private, and protected access?

12 Answers   IBM, Oracle, Wipro,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

0 Answers   CTS,


Is c++ still in demand?

0 Answers  


Does improper inheritance have a potential to wreck a project?

0 Answers  


Why is swift so fast?

0 Answers  






why can't we declare data member of class auto register or extern

1 Answers  


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


What is c++ w3school?

0 Answers  


Are there any special rules about inlining?

0 Answers  


What are friend classes? What are advantages of using friend classes?

0 Answers  


Why c++ is created?

0 Answers  


What is rtti in c++?

0 Answers  


Categories