c++ code 1 2 3 4 5 6 7 8 9 10 int foo( bool isbar) { if (isbar) { bar(); return 1; } else return 0; }