Ask Question
21 December, 06:48

Given the following code segment,

int x = 14;

int y = 8;

what is the data type of the value of the expression (x / y) ?

int

double

numeric

Error: possible loss of precision

Unable to be determined

+5
Answers (1)
  1. 21 December, 09:06
    0
    int

    Explanation:

    if both variables are integers than there is no way for the data type to change.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Given the following code segment, int x = 14; int y = 8; what is the data type of the value of the expression (x / y) ? int double numeric ...” in 📘 Advanced Placement (AP) if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers