Practical C/C++ programming Part II

Pointer and 2D Array § Recall 2D array structure: combination of 1D arrays int a[2][2]={{1,2},{3,4}}; § The 2D array contains 2 1D arrays: array a[0] and array a[1] § a[0] is the address of a[0][0] § a[1] is the address of a[1][0] 7/11/18 Practical C/C++ programming II 14 array a[0]: a[0][0]=1 a[0][1]=2 ................
................