#include using namespace std; int main() { int x = -1; cout << "Pred try-catch" << endl; try { cout << "Inside try" << endl; if(x < 0) { throw "123"; cout << "Posle frlanje(ne treba da se pecati" << endl; } } catch(const char *a) { cout << a << endl; } cout << "Posle try-catch" << endl; return 0; }