nerdexam
National_Instruments

200-500 · Question #99

Which elements does the array returned by the function pathinfo() contain?

The correct answer is C. dirname, basename, extensio. See the full explanation below for the reasoning.

Question

Which elements does the array returned by the function pathinfo() contain?

Options

  • Aroot, dir, file
  • Bdirname, filename, fileextension
  • Cdirname, basename, extensio
  • Dpath, file

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    13% (3)
  • C
    79% (19)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice