2
0

atof.c 126 B

12345678
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. int main(void) {
  4. double d = atof("-3.14");
  5. printf("%f\n", d);
  6. return 0;
  7. }