[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

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";

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 :: Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!