Q116
What will be the output of the following C code? char str[]; strcpy(str, "Hello"); res = atof(str); printf("String value = %s, Float value = %f ", str, res);
A.
String value = Hello, Float value = 0.000000
AnswerB.
String value = Hello, Float value = 0
C.
String value = "Hello" , Float value = 0.000000
D.
String value = "Hello" , Float value = 0
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board