catch(exception &e)
{
. . .
}
Referring to the sample code above, which one of the
following lines of code produces a written description of
the type of exception that "e" refers to?
a) cout << e.type();
b) cout << e.name();
c) cout << typeid(e).name();
d) cout << e.what();
e) cout << e;
Answer Posted / santhoo035
ans:c
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
C is to C++ as 1 is to a) What the heck b) 2 c) 10
Explain explicit container.
What operators can you overload in c++?
What is the difference between struct and class?
What is the difference between the indirection operator and the address of oper-ator?
Write a program to interchange 2 variables without using the third one.
Differentiate between late binding and early binding.
What are the advantages of c++?
What is the use of class in c++?
What is stoi in c++?
What are mutator methods in c++?
How do you flush std cout?
Differentiate between the message and method in c++?
What is the difference between an enumeration and a set of pre-processor # defines?
What is ios :: in in c++?