What happens if an exception is throws from an, object's
constructor and object's destructor?
Answer Posted / dee
if the exception is thrown in constructor, its caught or
function terminate will eb called.
U cannot throw exception from destructor
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between using macro and inline functions?
What is a template in c++?
When should we use container classes instead of arrays?
Describe the advantages of operator overloading?
What is the difference between the functions rand(), random(), srand() and randomize()?
Explain explicit container.
What is auto used for in c++?
What are the types of array in c++?
What are structures and unions?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What should main() return in c and c++?
What language is a dll written in?
What is a catch statement?
What are stacks?
How does c++ sort work?