9.57. C_SIZEOF
9.57 C_SIZEOF — Size in bytes of an expression
- Description:
-
C_SIZEOF(X)
calculates the number of bytes of storage the expressionX
occupies. - Standard:
-
Fortran 2008
- Class:
-
Inquiry function of the module
ISO_C_BINDING
- Syntax:
-
N = C_SIZEOF(X)
- Arguments:
-
X The argument shall be an interoperable data entity. - Return value:
-
The return value is of type integer and of the system-dependent kind
C_SIZE_T
(from theISO_C_BINDING
module). Its value is the number of bytes occupied by the argument. If the argument has thePOINTER
attribute, the numb