#include <stdio.h> /*指针传递。 指针传递会改变实参的值。 */ void func(int *n) { *n = 1034; } int main() { int a =90; func(&a); printf("%d\n",a); return 0; }