#include <stdlib.h> #include <stdio.h> int main(int argc, char* argv[]) { double d = atof("-3.14"); printf("%f\n", d); return 0; }