Re: What is the difference between: int a (*daytab)[13] and int a *daytab[13]
by "Bartc" <bc@[EMAIL PROTECTED]
>
May 4, 2008 at 07:03 PM
"magicman" <ironsel2000@[EMAIL PROTECTED]
> wrote in message
news:11cc16fd-e18d-423d-a226-e02dbd62d0bc@[EMAIL PROTECTED]
is the difference between: int a (*daytab)[13] and int a
*daytab[13]]
As written: nothing, they're both syntax errors.
On the other hand, int (*daytab)[13] is a pointer to an array of 13 ints.
While int *daytab[13] is an array of 13 pointers to ints.
(Thanks to a program cdecl.exe I've just downloaded. Otherwise I wouldn't
have a clue either. And the existence of such a program suggests I'm not
alone!)
--
Bartc