In the name of ALLAH, the most beneficient, the most merciful

System Programming (CS609)

Question (select most suitable option)

  In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of the following condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned char far * scr = (unsigned char far *)(0x00400017);
if (((*scr)&12)==12)
if (((*scr)&8)==8)
if (((*scr)&4)==4)
if (((*scr)&2)==2)