fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void f(short)
  5. {
  6. cout << "f(short)" << endl;
  7. }
  8.  
  9. void f(int)
  10. {
  11. cout << "f(int)" << endl;
  12. }
  13.  
  14. int main() {
  15.  
  16. f(5);
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
f(int)