Handling bad_alloc Exception in C++

# 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.

|60 : 00

Click the virtual machine below to start practicing