static char-defined usage

  static char * p is a global static variables, char * p temporary variables, static definition you can call in other places, and is generic, which means you changed its value in one place, the rest will follow changes , while the char * p just a simple variable, which is defined in general use in which, out of this function, there is no outside, can continue to define the char * p in other localities, is not affected.

Guess you like

Origin www.cnblogs.com/wjq13752525588/p/11454003.html