P

Priyanka Tomar • 35.28K Points
Coach

Q. Find out the error in following block of code. If (x = 100) Cout << “x is 100”;

  • (A) 100 should be enclosed in quotations
  • (B) There is no semicolon at the end of first line
  • (C) Equals to operator mistake
  • (D) Variable x should not be inside quotation
  • Correct Answer - Option(C)
  • Views: 45
  • 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