Multiple Choice
What will the value of x be after the following statements execute? int x;
x = 18 % 4;
A) 0.45
B) 4
C) 2
D) unknown
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: What will the value of x be
Q5: What will the following code display? <br>cout
Q12: Character constants in C++ are always enclosed
Q20: In memory, C++ automatically places a _
Q25: A character literal is enclosed in _
Q32: The first step in using the string
Q41: _ must be included in any program
Q42: This function in C++ allows you to
Q43: These are data items whose values do
Q47: The float data type is considered _