先看几个例子:
#include <stdio.h>
struct a{
char name[10];
int age;
}aa[3]={{"abc",20},{"def",21},{"ghi",22}};
int main(int argc, char *argv[])
{
struct a *paa=aa;
printf("%c%c%c",(*(paa+1)).name[0],(*paa++).name[1],\
(*(paa+1)).name[2]);
return 0;
}
结果:gbf
#include <stdio.h>
int main()
{
printf("%d\n%d\n%d\n",
printf("====one====\n"),
printf("====two====\n"),
printf("===three===\n"));
return 0;
}
结果:
===three===
====two====
====one====
12
12
12
函数调用约定
百度百科:点击打开链接