fork download
  1. #include <iostream>
  2.  
  3. void additional_funct(int num);
  4.  
  5.  
  6. int main(int argc, char** argv)
  7. {
  8. std::cout << "just a text";
  9. return 0;
  10. }
  11.  
  12.  
  13. void additional_funct(int num)
  14. {
  15. // For both lines will be shown "divide by zero"
  16. int var = 5 / 0;
  17. int another_var = num + (2 / 0);
  18. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
just a text