fork download
  1. #include <iostream>
  2. bool return_true()
  3. {
  4. std::cout<<"FUNKCJA 1\n";
  5. return true;
  6. }
  7. bool return_true_and_print()
  8. {
  9. std::cout<<"FUNKCJA 2\n";
  10. return true;
  11. }
  12. int main()
  13. {
  14. if(return_true() || return_true_and_print())
  15. {
  16. std::cout<<"hello cruel world of laziness\n";
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
FUNKCJA 1
hello cruel world of laziness