P

Priyanka Tomar • 35.28K Points
Coach

Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x * y);

  • (A) 10
  • (B) 20
  • (C) 200
  • (D) Error
  • Correct Answer - Option(C)
  • Views: 90
  • Filed under category C++

Explanation by: Priyanka Tomar
The expression (x * y) evaluates to 200.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics