मराठी

If Int X = 4, 3,7, 8, 9,10; What Are the Values of P and Q ? (I) P = X.Length (Ii) Q = X2+ X5 * X1

Advertisements

प्रश्न

If int x [ ] = { 4, 3,7, 8, 9,10}; what are the values of p and q ?

(i) p = x.length
(ii) q = x[2] + x[5] * x[1]

थोडक्यात उत्तर
टीपा लिहा
Advertisements

उत्तर

(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.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: Arrays (Single Dimensional and Double Dimensional) - Review Insight [पृष्ठ २३७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 3 Arrays (Single Dimensional and Double Dimensional)
Review Insight | Q 12. | पृष्ठ २३७
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×