1 Unanswered Topic

Remove Filter
Member Avatar for subith86

Here is my piece of code: [CODE] int b[2][2] = { {4,6}, {-3,0} }; int b_length = (sizeof b)/sizeof(int); int *sub_b = b[1];[/CODE] b_length will have the length of 2-D array b (4, in this case). now sub_b is the sub-array of b at row 1, which is {-3,0} Is …

0
44

The End.