fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. void get_value(void* data)
  5. {
  6. printf("Value %f\n", *(float*)data);
  7. }
  8.  
  9.  
  10. int main(void) {
  11. float di = 10.10;
  12. get_value(&di);
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Value 10.100000