S
SamL
Is it possible to cast a one dimensional array to a two dimensional
array? For example, cast int a[100] to int a[10][10]. If that is not
possible, is there a way that allows me to use a[100] as b[10][10]? I
do not want to use it as a pointer to pointer, I need to use it as a
true two dimensional array. Thanks.
array? For example, cast int a[100] to int a[10][10]. If that is not
possible, is there a way that allows me to use a[100] as b[10][10]? I
do not want to use it as a pointer to pointer, I need to use it as a
true two dimensional array. Thanks.