fork download
  1. #include <stdio.h>
  2.  
  3. void parseFunc(float f1, int i1, char c1) {
  4. printf("%f %d %c\n", f1, i1, c1);
  5. }
  6.  
  7. int main() {
  8. parseFunc(0.87, 87, 'a');
  9.  
  10. void (*myFunc)(float, int, char) = parseFunc;
  11. myFunc(0.87, 877, 'b');
  12. return 0;
  13. }
Success #stdin #stdout 0s 5552KB
stdin
Standard input is empty
stdout
0.870000 87 a
0.870000 877 b