nerdexam
National_Instruments

200-500 · Question #61

What function returns the filename component of the file's path:

The correct answer is B. basename(). See the full explanation below for the reasoning.

Question

What function returns the filename component of the file's path:

Options

  • Adirname()
  • Bbasename()
  • Cpathinfo()
  • Dparse_url()

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    79% (15)
  • C
    11% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice