Home / C Programming / Control Instructions :: Discussion

Discussion :: Control Instructions

  1. The modulus operator cannot be used with a long double.

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    fmod(x,y) - Calculates x modulo y, the remainder of x/y.
    This function is the same as the modulus operator. But fmod() performs floating point or long double divisions.


Be The First To Comment