(x) Consider the following program segment and answer the questions given below:
int x[][]={{2,4,5,6}, {5,7,8,1}, {34, 1,10, 9}};
(a) What is the position of 34?
(b) What is the result of x[2][3] + x[1][2]?


Solution



(a) x[2][0]
(b) 17 (9+8)



Reach Us

SERVICES

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

CONTACT

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