1 double atof(char *nptr); 2 main()3 int main() { 4 printf("Value = %g\n", atof("10.42")); 5 return 0; 6 } 7 8