fork(4) download
  1. #include<iostream>
  2. void doSomething(int)
  3. {
  4. std::cout<<"In Int version";
  5. }
  6. void doSomething(char *)
  7. {
  8. std::cout<<"In char* version";
  9. }
  10.  
  11. int main()
  12. {
  13. doSomething(NULL);
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 2680KB
stdin
Standard input is empty
stdout
In Int version