C keywords

来自cppreference.com
< c

This is a list of reserved keywords in C. Since they are used by the language, these keywords are not available for re-definition.

auto
break
case
char
const
continue
default
do
double
else
enum
extern

float
for
goto
if
inline (C99 起)
int
long
register
restrict (C99 起)
return
short

signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while

_Alignas (C11 起)
_Alignof (C11 起)
_Atomic (C11 起)
_Bool (C99 起)
_Complex (C99 起)
_Generic (C11 起)
_Imaginary (C99 起)
_Noreturn (C11 起)
_Static_assert (C11 起)
_Thread_local (C11 起)

此外,每一个名字包含一个双下划线__,或一个下划线后接一个大写字母开头总是被保留的实施,不应用作标识符。每名以下划线开头的被保留在全局命名空间的名称使用的实施;这样的名字可能会被用来作为标识符在用户定义的命名空间,类成员的名字,等
Original:
Also, each name that contains a double underscore __ or begins with an underscore followed by an uppercase letter is always reserved to the implementation and should not be used as an identifier. Each name that begins with an underscore is reserved to the implementation for use as a name in the global namespace; such names may be used as identifiers in user-defined namespaces, as names of class members, etc.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Note that digraphs <%, %>, <:, :>, %:, and %:%: provide an 另一种方式来表示的标准标记.