c keyword

1, static: that is stored in the form of static storage object becomes, the link becomes an internal link mode.

 

2, the value of prepared statements just simple Alternatively, the type of detection mechanism lack #define USER_NUM_MAX 107

const is intended to replace the initial introduction of pre-compiled instructions #define

3, an expression in the form of macro definitions: it is just simple replacement of the pre-compiler symbol table on, and can not check the validity of the use of members of the access control parameters C ++ class.  #define ExpressionName (Var1, Var2) ( Var1 + Var2) * (Var1-Var2)

Alternative forms of expression inline macro definition

Reference: https://www.cnblogs.com/iloveyoucc/archive/2012/03/18/2404658.html

Guess you like

Origin www.cnblogs.com/youngvoice/p/11805754.html