GATEverse
← GATE CSE 2002

Q18-b

MCQMarks unknown

The functionality of atomic TEST-AND-SET assembly language instruction is given by the following C function int TEST-AND-SET (int *x) { int y; A1: y=*x; A2: *x=1; A3: return y; }

Sign in to save attempts.

Loading…