Let's suppose I have following code:
int bar = 0; struct Foo { ~Foo() { bar = 1; } }; int main(int argc, char ** argv) { Foo f; return bar; }
What will be return value of program? 0 or 1?
Aucun commentaire:
Enregistrer un commentaire