Top

Discussion

What will be the data type returned for the following function?

int func()
    {
        return (double)(char)5.0;
    }

 

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

Answer: B

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment