char*a,char*a和char*a之间有区别吗?

use*_*384 -4 c

我是新手,我正在审查一些代码.我遇到了这个:

static char * fromDataType;
static char * toDataType;
static char * fromRank;
static char * toRank;
static char * fromMethod;
static char * toMethod;
static char * fromAction;
static char * toAction;
Run Code Online (Sandbox Code Playgroud)

我在想,如果char* achar * achar *a一样的吗?

Rob*_*vey 5

除了作为标记分隔符之外,C源中的空格不重要.分隔令牌并不总是需要空格.

在此特定情况下,一个空间的某处需要在之间chara把它们分开.任何其他空格在语义上都没有意义.

  • 嗯,不完全正确.`a +++ a`和`a + ++ a`意味着不同的东西. (5认同)