McqMate
| 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 |
| Answer» C. Equals to operator mistake | |
View all MCQs in
Object Oriented Programming with C++ (OOP in C++)No comments yet