nerdexam
LPI

117-202 · Question #172

The following data is some of the output produced by a program. Which program produced this output? strftime (" Thu", 1024, "%a", 0xb7f64380) =4 fwrite ("Thu", 3, 1, 0xb7f614e0) =1 fputc (' '…

The correct answer is D. strace. See the full explanation below for the reasoning.

Question

The following data is some of the output produced by a program. Which program produced this output? strftime (" Thu", 1024, "%a", 0xb7f64380) =4 fwrite ("Thu", 3, 1, 0xb7f614e0) =1 fputc (' ', 0xb7f614e0) =32 strftime (" Feb", 1024, " %b", 0xb7f64380) =4 fwrite ("Feb", 3, 1, 0xb7f614e0) =1 fputc (' ', 0xb7f614e0) =32 fwrite ("19", 2, 1, 0xb7f614e0) =1

Options

  • Alsof
  • BItrace
  • Cnm
  • Dstrace
  • Etime

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    3% (1)
  • D
    79% (27)
  • E
    12% (4)

Community Discussion

No community discussion yet for this question.

Full 117-202 Practice