throw Can constructors exceptions?
Answer / nashiinformaticssolutions
Yes, constructors can throw exceptions, but the object won't be created.
Is This Answer Correct ? | 0 Yes | 0 No |
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
Difference between an inspector and a mutator
Compare compile time polymorphism and Runtime polymorphism
How does c++ structure differ from c++ class?
Why is c++ still used?
Refer to a name of class or function that is defined within a namespace?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
Explain the concept of inheritance in C++.
What is the difference between method and message?
Can you sort a set c++?
What is a forward referencing and when should it be used?
What do you mean by enumerated data type?