# Introduction
In this lab, you need to write a program to catch the `bad_alloc` exception when dynamically allocating a large amount of memory and handle it by printing the default error message.
Handling bad_alloc Exception in C++
|
60 : 00
Pro user can extend the session by one hour with 5 minutes remaining
Click the virtual machine below to start practicing