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
Problem : (a) What do you understand by the term ‘constructor' in Java? Explain with an appropriate example. (b) Describe the differences between an object and a class usi

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Encapsulation and Data Hiding The property of being a self-contained unit is known as encapsulation. The idea that the encapsulated unit can be used without knowing how it work

Example for Register Storage Class - computer programming? main() { register int i; for (i=0; i { ............... ............... } } /* block exit will free the register

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

What are some guidelines / "rules of thumb" for overloading operators? A: Here are a few guidelines / rules of thumb .Use common sense. If your overloaded operator makes life si

Default Value Functions,  When declaring a function we can specify a default value for each parameter. This value will be used if that parameter is left blank when calling to the f

Program for Hangman Problem   #include   #include   #include   #include   #include   static void playGame();   static void printMistakes(int n);   st

Ask question #Minimum 100 words acceptedEducational Objectives: After completing this assignment, the student should be able to accomplish the following: Apply generic algorithms i

WHAT IS CGI?