What will be the output of the following C code?
#include < stdio.h >
void main()
{
m();
printf(“%d”, x);
}
int x;
void m()
{
x = 4;
}
a) 4
b) Compile time error
c) 0
d) Undefined
Answer: b
Related Posts
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 __________
How is a privilege exception dealt with?
A privilege exception is raised __________
Join The Discussion