Which of the following function displays currently active graphics device?

dev.present
dev.cur
pre.cur
all of the mentioned

The correct answer is: A. dev.present

The function dev.present displays the currently active graphics device. It takes no arguments and returns a pointer to the currently active graphics device.

The function dev.cur displays the currently active cursor. It takes no arguments and returns a pointer to the currently active cursor.

The function pre.cur displays the previous cursor. It takes no arguments and returns a pointer to the previous cursor.

Therefore, the only function that displays the currently active graphics device is dev.present.