0
pls Explain the code....
8 Antworten
+ 1
You enter TRY
you print 1
If x < 0 (IT IS)
Throw x
Immediately your code goes to catch
You catch x
You print 3
+ 1
Nope, nothing between throw and catch is executed
+ 1
Ok thanks Elva
0
Elva after printing 3, won't it comback to the line below throw i.e. cout<<2 or maybe its property of throw that it wont return to the same function???