Vidyalelo
C Programming · Q206

Function

Programming · C Programming · question 206

Q206

What will be the data type returned for the following C function? #include int func() return (double)(char)5.0;

A.
char
B.
int
Answer
C.
double
D.
multiple type-casting in return is illegal

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board