Sail E0 Webinar
Question
What will be the data type returned for the following function?    int func()    {        return (double)(char)5.0;    }
Options:
A .  char
B .  int
C .  double
D .  multiple type-casting in return is illegal
Answer: Option B


None.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers