fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int fun(const int &x)
  5. {
  6. return x;
  7. }
  8. int main()
  9. {
  10. cout << fun(10);
  11. return 0;
  12. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
10