In C, an attribute is a pointer of type void *. You must allocate storage for the attribute to point to (make sure that you don't use the address of a local variable).
In Fortran, it is a single INTEGER.