What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 0, y = 2, z = 3;
int a = x & y | z;
printf(“%d”, a);
}
a) 3
b) 0
c) 2
d) Run time error
Answer: a
Related Posts
The controller uses _____ to help with the transfers when handling network interfaces.
The technique where the controller is given complete access to main memory is __________
The technique whereby the DMA controller steals the access cycles of the processor to operate is called __________
Can a single DMA controller perform operations on two different disks simultaneously?
The controller is connected to the ____
When the R/W bit of the status register of the DMA controller is set to 1.
The DMA controller has _______ registers.
Join The Discussion