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