Discussion
If arr is a two dimensional array of 10 rows and 12 columns, then arr[5] logically points to the
Answer: A
Correct answer: sixth row
arr is an array of rows, so arr[5] is the row at index 5 - the sixth row, since indexing starts at 0. It has type int[12] and decays to a pointer to that row’s first element. The column count never enters into which row is selected.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development