What will be the output of the following C code?
#include < stdio.h >
int x = 5;
void main()
{
int x = 3;
printf(“%d”, x);
{
x = 4;
}
printf(“%d”, x);
}
a) Run time error
b) 3 3
c) 3 5
d) 3 4
Answer: d
Related Posts
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.
After the completion of the DMA transfer, the processor is notified by __________
In DMA transfers, the required signals and addresses are given by the __________
The DMA transfers are performed by a control circuit called as __________
The DMA differs from the interrupt mode by __________
Join The Discussion