fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void function(const int& arg){
  5. std::cout << arg << std::endl;
  6. }
  7.  
  8. int main() {
  9. function(20);
  10. return 0;
  11. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
20