Files
wangdao-data-structure/ch2/tips.c
2020-11-28 23:53:03 +08:00

16 lines
248 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#include <stdio.h>
void test(int x)
{
x = 1024;
printf("test 函数内部x = %d\n", x);
}
int main()
{
int x = 1;
printf("调用 test 函数前x = %d\n", x);
test(x);
printf("调用 test 函数后x = %d\n", x);
}