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

1. 100 should be enclosed in quotations

2. There is no semicolon at the end of first line

3. Equals to operator mistake

4. Variable x should not be inside quotation

  • c. Equals to operator mistake
Subscribe Now

Get All Updates & News