c/language/ Alignof

Queries the alignment requirement of its operand type.

Syntax
This operator is typically used through the convenience macro, which is provided in the header

Explanation
Returns the of the type  by. If is an array type, the result is the alignment requirement of the array element type. The cannot be function type or an incomplete type.

The result is an integer constant of type size_t.

The operand is not evaluated (so external identifiers used in the operand do not have to be defined).

If is a  type, its size expression is not evaluated.