Computer Science, asked by yash101346, 7 months ago

If int x[ ] ={4,3,7,8,9,10}; what are the value of p and q (i) p=x.length (ii) q=x[2]+x[5]*x[1]​

Answers

Answered by jagrutipatel1941986
4

Answer:

798 is a correct one but not sure please marks me brainlist please buddy

Answered by MahimaVarshaToppo
5

Answer:

(i) Value of P will be 6.

(ii) q = x[2] + x[5] * x[1]

= 7 + 10 * 3

= 7 + 30 = 37

value of q is 37.

Explanation:

Similar questions