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