fork(1) download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. double x;
  6. double y = 0;
  7. std::cout << x << std::endl;
  8. std::cout << y/y;
  9. }
  10.  
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
0
-nan