Name: Anonymous 2013-06-27 18:20
I want to declare a const pointer that points to a list of const pointers that point to const data. Throw me a fucking bone.
const void * const ** const ptr;
char *argv[]void *name; means precisely "by dereferencing the id name i'm getting a value of type void", which in turn simply means "name is a pointer to void".* used in declaring a pointer type is part of the syntax. It is not the * unary operator:6.7.5 Declarators
Syntax
declarator:
pointeropt direct-declarator
direct-declarator:
identifier
( declarator )
direct-declarator [ type-qualifier-listopt assignment-expressionopt ]
direct-declarator [ static type-qualifier-listopt assignment-expression ]
direct-declarator [ type-qualifier-list static assignment-expression ]
direct-declarator [ type-qualifier-listopt * ]
...