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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Equals to operator mistake

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
96
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
83%
Success Rate