fork download
  1. #include <stdio.h>
  2.  
  3. int TestMethod(int a, int b)
  4. {
  5. printf("In TestMethod %d, %d \r\n", a, b);
  6. return 0;
  7. }
  8.  
  9.  
  10. int main(void)
  11. {
  12.  
  13. void (*ap_cb_function)() = (void(*)())TestMethod;
  14. ap_cb_function();
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
In TestMethod 134513856, 0