Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the data type returned for the following C function?
#include < stdio.h >
int func()
{
return (double)(char)5.0;
}

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

Join The Discussion