+ 1

What is the output of this code.

#include<iostream> using namespace std; int main () { try { throw 0; } catch(int e) { cout<<e; } }

19th Dec 2017, 4:11 PM
Deep Prakash Goyal
Deep Prakash Goyal - avatar
7 odpowiedzi
+ 1
What language is it in?
19th Dec 2017, 4:13 PM
Ava
0
c++
19th Dec 2017, 4:13 PM
Deep Prakash Goyal
Deep Prakash Goyal - avatar
0
0
19th Dec 2017, 4:15 PM
Ava
0
That's what it says in the playground.
19th Dec 2017, 4:16 PM
Ava
0
#ava please explain this code
19th Dec 2017, 4:16 PM
Deep Prakash Goyal
Deep Prakash Goyal - avatar
0
I only know a little Java. I don't know any c++.
19th Dec 2017, 4:18 PM
Ava
0
#ava it's ok
19th Dec 2017, 4:21 PM
Deep Prakash Goyal
Deep Prakash Goyal - avatar