P

Priyanka Tomar • 35.28K Points
Coach

Q. What will be the output of the following code?

int a = 5;
int b = 2;
cout << a / b;

  • (A) 2.5
  • (B) 2
  • (C) 1
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 123
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics