What will be the data type returned for the following C function?
#include < stdio.h >
int func()
{
return (double)(char)5.0;
}
a) char
b) int
c) double
d) multiple type-casting in return is illegal
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