What happens when a function throws an exception that was not specified by an exception specification for this function?
Answer / shalesh kumar
Unexpected() is called, which, by default, will eventually trigger abort().
Is This Answer Correct ? | 0 Yes | 0 No |
What do you understand by a pure virtual member function?
Give 2 examples of a code optimization?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
How is modularity introduced in C++?
Which function cannot be overloaded c++?
Explain the uses of static class data?
What do you mean by early binding?
What does flush do?
What are manipulators used for?
Write a program which employs Recursion
int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?
What is the default access level?