fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. // funcion nueva
  6. int suma(int a, int b) {
  7. return a + b;
  8. }
  9.  
  10. int main() {
  11. cout << suma(2, 3) << endl;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
5