What value will be assigned to the variable number by the following statement? int number = 3.75;
A) 4
B) 3
C) 3.75
D) It's unpredictable. That's the problem.
E) None of the above.
Correct Answer:
Verified
Q14: Every C++ program must have
A)variables.
B)literals.
C)comments.
D)a function called
Q14: The expression 5 / 2 evaluates to
A)
Q15: data types are used to define variables
Q16: What value will be assigned to the
Q17: Which of the following keywords is/are the
Q19: In programming terms, a group of characters
Q20: #include <iostream> is an example of a(n)
A)comment.
B)compiler
Q22: The bool data type
A)has only two values:
Q23: Which of the following is/are valid C++
Q33: The following is a legal C++ statement
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents