Consider the following program segment and answer the questions given below: int x[][]={{2,4,5,6}. {5,7,8,1}, {34,2,10,9}}; What is the position of 34? What is the result of x[2][3] + x[1][2]?
Advertisements
प्रश्न
Consider the following program segment and answer the questions given below:
int x[][]={{2,4,5,6}, {5,7,8,1}, {34,2,10,9}};
- What is the position of 34?
- What is the result of x[2][3] + x[1][2]?
एक पंक्ति में उत्तर
Advertisements
उत्तर
- x[2][0]
- 17 (9+8)
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
