Which of the following function displays currently active graphics device?

[amp_mcq option1=”dev.present” option2=”dev.cur” option3=”pre.cur” option4=”all of the mentioned” correct=”option1″]

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.

Exit mobile version