What will be the data type returned for the following C function?
#include <stdio.h>
int func()
{
return (double)(char)5.0;
}
#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: Option B

Join The Discussion