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
What is the difference between JavaScript and PHP? The difference lies with the execution of languages. PHP is server side scripting language, which means that it cannot intera

what happens when the following command is used? chmod u=rwx,go=r-x foo

C program to demonstrate Pointer to array: void p2a(int *); void main() {                 int x=10, *a,**b;                 int arr[5];                 a=&x;//po

#questiowrite a program to calculate e^x

b) The static keyword let a variable to maintain its value among distinct function calls. If the value of a static variable alters while the variable has been accessed, variable

#include using namespace std; void print(int marks_arr[],int cnt) { int ind[cnt]; int i=0; int j=0; int k=0; int s=0; for(k=0;k { ind[k]=0; } int cnt1=0; for(i=0;i

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

Shell sort - C Program: Write a program to define shell sort. void main() {                  //program for sorting by select sort int a[20],i,k,j,n;   clrscr();

How do you access the values within an array? - Arrays comprise a number of elements, which depends on the size you assigned it during variable declaration. - Every element

Insert values in queue - C++ program: Write a program to insert values in queue. int main()   {         int k;     Queue timeLine;     cout     for(