C++ Programming :: Basic Concepts - Discussion
Home > C++ Programming > Basic Concepts > MCQs Questions Discussion
4 / 27
Find out the error in following block of code.
If (x = 100)
Cout << "x is 100";
If (x = 100)
Cout << "x is 100";
A100 should be enclosed in quotations
BThere is no semicolon at the end of first line
CEquals to operator mistake
DVariable x should not be inside quotation
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!