If int x[] = { 4, 3, 7, 8, 9, 10}; what are the values of p and q ?
- p = x.length
- q = x[2] + x[5] * x[1]
Views 12
Answer:
- 6
- q = x[2] + x[5] * x[1]
q = 7 + 10 * 3
q = 7 + 30
q = 37
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.