Question 10Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

What type of argument does the CloseHandle system call require?

  1. APointer to the memory buffer
  2. BFile name
  3. CHandle to the file or resource
  4. DFile path
Show answerHide answer

Correct answer: (C) Handle to the file or resource

Explanation

CloseHandle takes one argument, the HANDLE of the open object (file, process, thread etc.) returned earlier by functions such as CreateFile.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

This is question 10 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.