Answers for "what is try catch finally in c++"

C++
9

C++ try catch

try {
   //do something
} catch (const std::exception& e) {
     std::cout << e.what(); // information from error printed
}
Posted by: Guest on April-23-2021

Browse Popular Code Answers by Language