What happens while a function throws an exception which , C/C++ Programming

Q-What happens while a function throws an exception which was not specified through an exception specification for this function?

A: Unexpected() is called, which, by default, will trigger abort()eventually.

 

Posted Date: 3/19/2013 8:50:36 AM | Location : United States







Related Discussions:- What happens while a function throws an exception which , Assignment Help, Ask Question on What happens while a function throws an exception which , Get Answer, Expert's Help, What happens while a function throws an exception which Discussions

Write discussion on What happens while a function throws an exception which
Your posts are moderated
Related Questions
Write a C# program to compute the Net Pay for employees. The program is to have a Main method and two user-defined methods. The Main method is to input the employee's name (string)

What are Arrays? Numerous applications require the processing of multiple data items that have identical characteristics. In such circumstances it is frequently convenient to p


write a prgm to find minimum total number of shelves including the intial one required for loading process

Problem: (a) (i) What is a structure? (ii) How does a structure differ from an array? (b) Declare a structure, called account, that will contain the following data me

how to do an array

padovan series with words

Study the given hierarchical class diagram and additional information, and answer the questions that follow: Sale Company: string unitPrice: double

Question: (a) Write short notes on arrays. Extend your answer by putting emphasis on memory allocation. (b) Write a C++ program to input an integer n followed by n real-

Program for Memory Optimization of C / OpenCL Code Project Description: This is possibly a very simple project for someone with an excellent knowledge of C and OpenCL. That,