How would you represent an error detected during constructor
of an object?



How would you represent an error detected during constructor of an object?..

Answer / arash

errors in constructors are represented by exceptions

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are the uses of typedef in a program?

1 Answers  


diff between pointer and reference in c++?

1 Answers  


Can a class be static in c++?

1 Answers  


How the endl and setw manipulator works?

1 Answers  


I need to find a specific string between two strings how do I do it?

1 Answers   Infosys,


Is it possible to use a new for the reallocation of pointers ?

1 Answers  


What and all can a compiler provides by default?

3 Answers   Accenture, HP,


Can a program run without main function?

1 Answers  


How a new operator differs from the operator new?

1 Answers  


What are the advantages of pointers?

1 Answers  


What are the various operations performed on stack?

1 Answers  


What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


Categories