fork(1) download
  1. #include <iostream>
  2.  
  3. #pragma GCC diagnostic error "-fpermissive"
  4.  
  5. using namespace std;
  6.  
  7. Sum (int a, int b)
  8. {
  9. int x = a - b;
  10. //cout << x << " \n";
  11. return x;
  12. }
  13.  
  14. int main()
  15. {
  16. int s1 = Sum(3, 6);
  17. cout << s1;
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
-3