Re: Please Can Anny One Tell What This Declaration Says ?
- From: Barry Schwarz <schwarzb@xxxxxxxxx>
- Date: Sun, 21 May 2006 04:23:47 -0700
On 15 May 2006 05:39:44 -0700, "code break" <pkumesh@xxxxxxxxx> wrote:
typedef void(*FP);
FP UserMenuFunk[7];
FP UserFunk[7];
Please your comments on this help me lot .
The parentheses are just a confusion factor.
FP is a typedef (synonym) for pointer to void.
UserMenuFunck and UserFunk are each an array of 7 pointer to void.
If the typedef had been void "(*FP)()" (at least the original
parentheses would make sense), then FP would have been a synonym for
pointer to function.
Remove del for email
.
- References:
- Please Can Anny One Tell What This Declaration Says ?
- From: code break
- Please Can Anny One Tell What This Declaration Says ?
- Prev by Date: Re: Incrementing a void pointer. Legal C99?
- Next by Date: Re: Size of extern int x;
- Previous by thread: Re: Please Can Anny One Tell What This Declaration Says ?
- Next by thread: Random Seeding
- Index(es):
Relevant Pages
|