Forum

Exceptional Handling

This thread contains 1 reply, has 2 voices, and was last updated by Test 4 years, 12 months ago.

  • Author Replies
    • #56587

      What is Exception Handling in C++?


    • #56588

      In C++ exception is a response to an exceptional condition that arises while a program is running.

      C++ exception handling built upon three keywords:

      1) try
      2) catch
      3) throw

      Throw − A program throws an exception when a problem shows up. It is done using a throw keyword.

      Catch − A program catches an exception with an exception handler at the point in a program where you require to handle the problem.

      Try − A try block recognizes a block of code for particular exceptions will be activated.


Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha