(xi) A single dimensional array has 50 elements, which of the following is the correct statement to initialize the last element to 100.
(a) x[51]=100
(b) x[48]=100
(c) x[49]=100
(d) x[50]=100


Solution



(c) x[49]=100



Reach Us

SERVICES

  • ACADEMIC
  • ON-LINE PREPARATION
  • FOUNDATION & CRASH COURSES

CONTACT

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+918081967119