+ 1
What are the uses of try catch and throw in c++
At many places in solo learn c++ I've come across these terms , please tell me the uses of these
1 Antwort
+ 1
In C++ exceptions are responses to anomalies that arise while the program is running, such as an attempt to divide by zero. Try, catch, and throw are used to handle these exceptions.