Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which of the following is the general form of using an exception specification? - Select option

  Shared By: Adalbert Fischer    Date: Jan 18    Category: C++ Programming    Views: 718

Answer:

Options


a) type function(arg-list) throw(type-list)
{
........
........ Function body
........
}
b) type function(arg-list) throw(arg-list)
{
........
........ Function body
........
}
c) type function(type-list) throw(type-list)
{
........
........ Function body
........
}
d) None of the above


Answer :

a) type function(arg-list) throw(type-list)
{
........
........ Function body
........
}

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: