fork(57) download
  1. #include <iostream>
  2.  
  3. void foo(const int)
  4. {
  5. std::cout << "foo(const int)" << std::endl;
  6. }
  7.  
  8. void foo(const int*)
  9. {
  10. std::cout << "foo(const int*)" << std::endl;
  11. }
  12.  
  13. int main()
  14. {
  15. //foo(NULL);
  16. foo(nullptr);
  17. return 0;
  18. }
Success #stdin #stdout 0s 4336KB
stdin
Standard input is empty
stdout
foo(const int*)