0

How to use exception handling for this code statement?

Please explain a code to detect and print error message for following statement :- Cout << " hello " << endl;

12th Aug 2019, 9:45 AM
Chetan Satpute
Chetan Satpute - avatar
2 Answers
12th Aug 2019, 10:11 AM
Dlite
Dlite - avatar
0
That's fine #D'Lite but here error is in the word cout (it's Cout instead of cout ) so my program will not even compile. Is it possible to use exception handling for syntax and type errors?
12th Aug 2019, 1:48 PM
Chetan Satpute
Chetan Satpute - avatar