Q:

What values do these literals represent? What type does each have

0

What values do these literals represent? What type does each have?

(a) "Who goes with F\145rgus?\012"
(b) 3.14e1L
(c) 1024f
(d) 3.14L

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

int main() {
  "Who goes with F\145rgus?\012";  // character string literal containing two octal escape sequences
  3.14e1L;  // floating-point literal, type is `long double`
  1024f;  // floating-point literal, type is `float`
  3.14L;  // floating-point literal, type is `long double`

  return 0;
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now