say i have a 2D array
Code:int arr[5][2] = { {1,2}, {3,4}, {5,6}, {7,8}, {9,10} }; now if i say arr[0].. its internally treated as *(arr+0) i.e. the address of 0th 1D array . but what if i say (arr+0) (arr+1) (arr+2) i.e without *
say i have a 2D array
Code:int arr[5][2] = { {1,2}, {3,4}, {5,6}, {7,8}, {9,10} }; now if i say arr[0].. its internally treated as *(arr+0) i.e. the address of 0th 1D array . but what if i say (arr+0) (arr+1) (arr+2) i.e without *