It prints out the percentage of free space remaining on the C: drive with a precision of two decimals
Correct:
It prints out the percentage of free space remaining on the C: drive with a precision of two decimals
The correct answer is B. The disk_free_space function determines the number of free bytes available on any given device (in this case, C: on a Windows machine), while disk_total_space() determines the total size of the device. By dividing the two values, multiplying the result by one hundred and formatting it using number_format() so that no more than two decimals are displayed, the script effectively prints out the percentage of space of the disk that is not being used. It even adds a percent sign at the end to avoid any possibility of confusion!