fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int test1(int t1, int t2)
  5. {
  6. return 0;
  7. }
  8.  
  9. int test2(int t1, int t2, int t3)
  10. {
  11. return 0;
  12. }
  13.  
  14. int test3(int t1, char t2, int t3, float t4)
  15. {
  16. return 0;
  17. }
  18.  
  19. int main() {
  20. int (*ptr)();
  21. ptr = &test1;
  22. ptr(1,1);
  23. ptr = &test2;
  24. ptr(1,1,1);
  25. ptr = &test3;
  26. ptr(1,1,1,1);
  27. return 0;
  28. }
Success #stdin #stdout 0s 2048KB
stdin
Standard input is empty
stdout
Standard output is empty