Examples of declarators
The following table indicates the declarators within the declarations:
| Declaration | Declarator | Description |
|---|---|---|
int owner; |
owner |
owner is an integer data object. |
int *node; |
*node |
node is a pointer to an integer data object. |
int names[126]; |
names[126] |
names is an array of 126 integer elements. |
volatile int min; |
min |
min is a volatile integer. |
int * volatile volume; |
* volatile volume |
volume is a volatile pointer to an integer. |
volatile int * next; |
*next |
next is a pointer to a volatile integer. |
volatile int * sequence[5]; |
*sequence[5] |
sequence is an array of five pointers to volatile integer
data objects. |
extern const volatile int clock; |
clock |
clock is a constant and volatile integer with static storage
duration and external linkage. |
![]() int * __far p;
|
* __far p
1 |
p is a __far pointer to an integer |
![]() int (*__fdptr p)(int);
|
*__fdptr p
1 |
p is a function pointer to a DLL like function. |
|
Note:
|
||
