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


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

Post New Answer

More C++ Interview Questions

What is static variable and difference between(const char *p,char const *p,const char* const p).

0 Answers   Accenture,


What is a memory leak in C++?

0 Answers   Agilent,


Question on Copy constructor.

0 Answers   Alter,


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

0 Answers   Amazon,


When must you use a constructor initializer list?

0 Answers   Amazon,






What is pass by value & reference.

0 Answers   Accenture,


explain the term 'resource acquisition is initialization'?

0 Answers   Amazon,


What does malloc return in C and C++?

0 Answers   Alter,


What is a COPY CONSTRUCTOR and when is it called?

0 Answers   IBS,


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

0 Answers   Accenture,


Explain function prototypes in C++.

0 Answers   Aricent,


Explain about Searching and sorting algorithms with complexities

0 Answers   Accenture,


Categories