(a+b6)?(c=1):(c=0);
&urnc;
}
8。WhatwillbetheoutputofthefollowingCcode?
main()
{
intk,num=30;
k=(num5?(numprintf(“%d”,k);
}
9。WhatwillthefollowingCcodedo?
int*ptr;
ptr=(int*)Ox67a9;
*ptr=Oxaa55;
10。WhatwillbetheoutputofthefollowCcode?
#defi(x)(x*x)
main()
{
inti=3,j,k;
j=product(i++);
k=product(++i);
printf(“%d%d”,j,k);
}
11。SimplifythefollowingBooleanexpression
!((i==12)||(j15))
12。Ho-flopcircuitsareodivideby16?
13。Provides3propertiesthatmakeanOS,aRTOS?
14。re-emption?
15。AssumetheBCregistervalueis8538H,aervalueis62A5H。FindthevalueisterBCafterthefollowingassemblyoperations:
MOVA,C
SUBE
MOVC,A