Home / C Programming / Declarations and Initializations :: Discussion

Discussion :: Declarations and Initializations

  1. Which of the following correctly represents a long double constant?

  2. A.
    6.68
    B.
    6.68L
    C.
    6.68f
    D.
    6.68LF

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    6.68 is double.
    6.68L is long double constant.
    6.68f is float constant.
    6.68LF is not allowed in c.


Be The First To Comment