What is wrong with this code?
``` if(x = 2)
{
cout<<”The number is 2”;
}```
A. There should not be { }’s
B. A semicolon is missing in the if statement – if (x = 2 )
C. The if statement should be if ( x == 2 )
D. Nothing
C
You might also like to view...
Which of the following are included in the first four lines of a research paper?
A) The report title B) The name of the Style Guide used for the paper C) The report author D) The page number
While performing routine testing of a hot standby site located at a remote hosting center, a system administrator is unable to access one of the server operating systems to verify functionality. Which of the following is MOST applicable to access the host?
A. KVM over IP B. RDP over HTTP C. Secure shell D. Serial console access E. VNC
XHTML is the acronym for ________.
Fill in the blank(s) with the appropriate word(s).
FreeTrip, MapQuest, and Expedia Maps are examples of online route planners.
Answer the following statement true (T) or false (F)