InterviewSolution
Saved Bookmarks
| 1. |
Which is true for a, if a is defined as “int a[10][20];”?(a) a is true two-dimensional array(b) 200 int-sized locations have been set aside(c) The conventional rectangular subscript calculation 20 * row+ col is used to find the element a[row, col].(d) All of the mentionedI got this question during an internship interview.I want to ask this question from Pointers Vs. Multi-dimensional Arrays in chapter Pointers and Arrays in C of C |
|
Answer» The CORRECT ANSWER is (d) All of the mentioned |
|