Home / C Programming / Bitwise Operators :: Discussion

Discussion :: Bitwise Operators

  1. What will be the output of the program?

    #define P printf("%d\n", -1^~0); #define M(P) int main()\              
                    {\            
                        P\                 
                        return 0;\              
                    }
     M(P)
    

  2. A.

    1

    B.

    0

    C.

    -1

    D.

    2

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment