fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. bool testFunction( bool param ) {
  5. cout << "Tick ";
  6. return param;
  7. }
  8.  
  9. int main() {
  10. if( testFunction( true ) && testFunction( false ) ) {
  11. // do nothing
  12. }
  13.  
  14. cout << endl << endl;
  15.  
  16. if( testFunction( false ) && testFunction( true ) ) {
  17. // do nothing
  18. }
  19. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
Tick Tick 

Tick