Conformant Arrays in C

Kurt Krueger kurtk at tekcae.TEK.COM
Fri Feb 26 02:20:20 AEST 1988


Look at "The C Programming Language" by Kernighan & Ritchie on p. 110.  If you
set up your array like  int *b[10]  you can treat it as a conformal 2-d array
without having to pass ANY bounds information (except for whatever the
procedure logic requires).



More information about the Comp.lang.c mailing list