Logo 
Search:

C++ Programming FAQ

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

Which statement(s) is true about try block? - Select option

  Shared By: Giselle Miller    Date: Jun 13    Category: C++ Programming    Views: 1026

Answer:

I. The try block is immediately followed by the catch block.
II. Try statement can have only one catch statement.
III. A program segment can have more than one catch statement with a try statement.
IV. All of the above

Options

a) I only
b) Both I and II
c) Both I and III
d) IV only

Answer : c) Both I and III

Share: 
 



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


Tagged: