Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

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

        int func()
        {
            return (double)(char)5.0;
        }
  2. A.
    char
    B.
    int
    C.
    double
    D.
    multiple type-casting in return is illegal

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment