nerdexam
LPI

202-400 · 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

(48 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    13% (6)
  • D
    75% (36)
  • E
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice