Single Choice Not Set

QWhat is the output of this C code?
    int main()
    {
        int i = 2;
        int j = ++i + i;
        printf("%d\n", j);
    }

ID: #1252 Operators and Enums in C Language 3,404 views
Question Info
#1252Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 5
  • B 6
  • C Compile time error
  • D 4
Correct Answer

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.