Quantcast
Channel: User Peter - Reinstate Monica - Stack Overflow
Viewing all articles
Browse latest Browse all 224

Comment by Peter - Reinstate Monica on Why int **m its not equal to int m[][]?

$
0
0
@Chris The question is entirely clear and certainly does not need debugging details. It is also not exactly the question linked in your comment: Sure, the issue underlying the confusion is array "decay", but here the question is specifically about 2-D arrays. Also, the linked question is about C++ and the accepted answer consequently talks also about references; the computational correctness crowd here always insists that the two languages are very different and should not be confused, cross-tagged, mentioned in the same sentence or even thought about together, so no: Voted to repoen.

Viewing all articles
Browse latest Browse all 224

Trending Articles