Whenever we use set_new_handler (std::new_handler handle_mem_alloc) for handling memory allocation failures and if any memory allocation failure happens then handle_mem_alloc () will be called. If we are not throwing any exception from inside this function the new operator will not throw any error. Whenever we use set_new_handler (std::new_handl