Quiz: Usage of the File System

Test your understanding of the usage of the file system.

1

Why can’t the c_str() method be used to display path objects on Windows?

A)

It only works with POSIX-conformant systems.

B)

It’s not compatible with the path class.

C)

It doesn’t provide a printable representation of the path.

D)

It doesn’t work with wchar_t characters.

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.