The legal data type keywords provided by the C language are: char, double, enum, float, int, long, short, signed, struct, union, unsigned, void.
Legal data type keywords provided by c language (12):
(1 ). char: declare a character variable or function
(2). double: declare a double precision variable or function
(3). enum: declare an enumeration type
(4). float: declare a floating point variable or function
(5). int: declare an integer variable or function
(6). long: declare a long integer variable or function
(7). short: declare a short integer variable or function
(8). signed: declare a signed type variable or function
(9). struct: Declare structure variables or functions
(10). union: Declare union data types
(11). unsigned: Declare unsigned type variables or functions
(12) . void: declare a function with no return value or parameters, declare a typeless pointer (basically these three functions)
Related recommendations: c language tutorial video
The above is the detailed content of What are the legal data type keywords provided by C language?. For more information, please follow other related articles on the PHP Chinese website!