Home / C Programming / C Preprocessor :: Discussion

Discussion :: C Preprocessor

  1. Which of the following are correctly formed #define statements in C?

  2. A.
    #define CUBE (X) (X*X*X);
    B.
    #define CUBE(x) (X*X*X)
    C.
    #define CUBE(X)(X*X*X)
    D.
    #define CUBE(X) {X*X*X}

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment