Top

Discussion

What is the output of this C code?

void main()
    {
        int y = 3;
        int x = 7 % 4 * 3 / 2;
        printf("Value of x is %d", x);
    }

 

  • A.Value of x is 1
  • B.Value of x is 2
  • C.Value of x is 3
  • 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