C Standard Library 简明教程

C Library - <stdalign.h>

stdalign.h 头文件是标准 C 库的一部分。它定义与对齐相关的宏,并允许我们查询和指定 C 程序中对象的对齐方式。

The stdalign.h header file is part of the standard C library. It defines macros related to alignment and allows us to query and specify the alignment of object in our C programs.

C − stdalign.h Operators

以下是头文件 stdalign.h 中定义的运算符 −

Following is the operator defined in the header stdalign.h −

Sr.No.

Operator & Description

1

alignof(type)This helps us to determine the alignment of a type or an expression.