|
-
September 28th, 2003, 07:08 AM
#1
Junior Member
Pointers to Multidimensional Arrays
Hi there,
I have a problem that I can't seem to resolve. I know that if we have, say, an integer array A[5], then we can initialise a pointer to an integer as follows:
int* B = A;
But I can't seem to figure out what kind of pointer can be initialised to the name of a multidimensional array. For instance, if I have A[5][5], and I want to initialise B to A:
X B = A;
what should X be?
Thanks a lot for your help.
Sincerely,
shred2er.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|