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
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

count the number of string in n-th padovan string

Described the order that objects in an array is destructed?

There are ''''n'''' ants on a ''''n+1'''' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are mov

C program for function  of average int average(int); void main() {           int max=0,c=0;           clrscr();           printf("ENTER THE LIMIT OF INPUT FOR AV

Conversion Functions Conversion functions are member functions used for the following purposes: 1. Conversion of object to basic data type. 2. Conversion of basic data ty

#question.A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a s

Friend function in c++: class miles; class km  {    float value;    public :   // void input();     km convert(km  ,int a ) ;    void output()    {

in a multilist organisation

Write a program to compute the following equation for values of time.           y = 2x+3   The values of time are stored in the file program.dat and the solution should be display