MCQ Single Best Answer Not Set

QWhat will be the output of the program?
#define P printf("%d\n", -1^~0);
#define M(P) int main()\
             {\
                P\
                return 0;\
             }
M(P)

ID: #1188 C Language Pre-Processor 1,361 views
Question Info
#1188Q ID
Not SetDifficulty
C Language Pre-ProcessorTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1
  • C -1
  • D 2
Correct Answer: Option B

Explanation

Option B
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions