?
What will be the output of the following C code?
What will be the output of the following C code?
char str[20];
str= "123546"; res= atof(str);
printf("String value = %s, Float value = %f\n", str, res);
char str[20];
str= "123546"; res= atof(str);
printf("String value = %s, Float value = %f\n", str, res);
Join the Discussion
Login to post a comment or share your explanation.
Login