Pointers to Arrays

Suppose you declared a variable vbl as a pointer to an array of 23 pointers to an array of 12 objects of type mytype_t. The C language declaration for this is:

mytype_t (*(*vbl)[23]) [12];

Here is how you would cast the vbl variable to this type:

(mytype_t (*(*)[23])[12])vbl

The TotalView cast for vbl is:

mytype_t[12]*[23]*
 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0