Live quiz

C Programming - Part 85

Question 1 of 25 Hints left: 3
Q1

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\n", str, res);

  • A
  • B
  • C
  • D