What will be the data type returned for the following C function?
Posted: Wed Jul 13, 2022 7:53 pm
#include <stdio.h> int func() { return (double)(char)5.0; }
a) char
b) int
c) double
d) multiple type-casting in return is illegal
a) char
b) int
c) double
d) multiple type-casting in return is illegal