fork download
  1. #include <iostream>
  2. void SomeFunc(int n1, short n2)
  3. {
  4. std::cout << n1 << ' ' << n2 << '\n';
  5. }
  6. int main()
  7. {
  8. typedef void (*visf)(int, short);
  9. (visf(SomeFunc))(3, 2);
  10. }
  11.  
Success #stdin #stdout 0s 2724KB
stdin
Standard input is empty
stdout
3 2