Question about pointers



 DEVELOP > c-Plus-Plus > Question about pointers

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Stefan Istrate"
Date: 07 Nov 2007 03:45:11 AM
Object: Question about pointers
I know that "int *p[100]" means 100 pointers to int. But what means
"int (*p)[100]"?
.

User: "Tim Love"

Title: Re: Question about pointers 07 Nov 2007 04:39:23 AM
Stefan Istrate <stefan.istrate@gmail.com> writes:

I know that "int *p[100]" means 100 pointers to int. But what means
"int (*p)[100]"?

tpl> c++decl explain 'int *p[100]'
declare p as array 100 of pointer to int
tpl> c++decl explain 'int (*p)[100]'
declare p as pointer to array 100 of int
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER