Word Source VC World - C language classroom
Self-archiving, also dedicated to the same Delphi programmer as me
1.C's data type basic type, constructed type, pointer type, empty type 2. Basic type classification and feature Type Description byte a numerical range character type Char 1 C character set Basic integer INT 2 -32768 ~ 32767 short SHORT INT 2 -32768 ~ 32767 Long Integer Long Int 4 -214783648 ~ 214783647 Unsigned Unsigned 2 0 ~ 65535 Un Sign Long Integer Unsigned Long 4 0 ~ 4294967295 Single Jielded Float 4 3 / 4e-38 ~ 3 / 4e 38 Double Precision Really Double 8 1 / 7e-308 ~ 1 / 7e 3083. Constant Suffix L or L Long Integer U or U No Sign Number F or F F F F F F F F F F F F F floating point number 4. Constant type integer, long integer, No symbol number, floating point, character, string, symbol constant, escape character. 5. Data type conversion · Automatically convert in a hybrid calculation of different types of data, automatically implemented by the system, and converts the multi-byte type type to multiple byte types. Different types of quantities are also assigned by the system, and the system is automatically converted to convert the types of assignment numbers to the type left. · Forced conversion is completed by the forced conversion operator. 6. Operators priority and combinations are generally in general, the single operator is high, and the assignment operator is low. The arithmetic operator is high, and the relationship and logic operator are prioritized. Most operators have left bonding, single operators, three-mean operators, assignment 7. Expression expression is a form that is constituted by operators, variables, and functions. Each expression has a value and type. The expression evaluation is performed in the order specified in the priority of the operator and the combination.