Consider the following array and answer the questions given below:

int x [ ] = {23, 45, 67, 12, 45, 89, 24, 12, 9, 7}

(a) What is the size of the array?
(b) What is the position of 89?


Solution



(a) Size of the array is 10

(b) Position of 89 is 5


Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com