ExamGecko
Question list
Search
Search

Question 48 - CBDE discussion

Report
Export

If we divide two integers:

5/2, the result is:

A.
2, because the decimal is truncated.
Answers
A.
2, because the decimal is truncated.
B.
3, because it's always rounded.
Answers
B.
3, because it's always rounded.
C.
2.5, because it's automatically converted into a float.
Answers
C.
2.5, because it's automatically converted into a float.
Suggested answer: A
asked 16/09/2024
Andrew Kavanagh
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first