Nguyễn Việt Thắng
New member
What will be the data type returned for the following C function?
A. char
B. int
C. double
D. multiple type-casting in return is illegal
Code:
#include <stdio.h>
int func()
{
return (double)(char)5.0;
}
B. int
C. double
D. multiple type-casting in return is illegal