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 find input string using strlen(), strcpy(), strcat(),strncat(), strcmp().

Description A long time ago in a galaxy far, far away, the country Mafghanistan had n cities and m old roads, where each road connected a pair of cities. Due to the treacherous mo

Define External Storage Class - computer programming? When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern'

#padovan string in java   program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : package test.padovanstring; public class PadovanStrin

A: BinarySearchTree.h ---------------------- #ifndef BINARY_SEARCH_TREE_H_ #define BINARY_SEARCH_TREE_H_ #include "dsexceptions.h" #include // For NULL // Binary

algorithm to find whether a given number is prime number or not? using pseudo code and flowchart

C program to string compression: Write a program to define a sting and all operations on string. void main()                                 {

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

A: Use references when you can use, and use pointers when you have to. References are generally preferred over pointers whenever you don't require "reseating". Usually this mean

Inbuilt Functions i).  Functions to manipulate strings The cstring library defines many functions to perform some manipulation operations with C-styled functions. The followi