Top

Discussion

What is the output of this C code?

int main()
    {
        int i = 2;
        int j = ++i + i;
        printf("%d\n", j);
    }

 

  • A.6
  • B.5
  • C.4
  • D.Compile time error

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment