What value will be assigned to the variable number by the following statement?
Int number = 7.8;
A) 7
B) 8
C) 7.8
D) None of the above.
E) It's unpredictable. That's the problem.
Correct Answer:
Verified
Q4: The _ is used to display information
Q5: A variable of the char data type
Q6: #include <iostream> is an example of a(n)
A)
Q7: If number is an int variable, both
Q8: Which of the following definitions will allow
Q9: What value will be assigned to the
Q10: The _ directive causes the contents of
Q12: _ are data items whose values cannot
Q14: The expression 5 / 2 evaluates to
A)
Q14: The expression 5 / 2 evaluates to
A)
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