#include <stdio.h>
// 全局变量 x
int x = 5;
void myFunction() {
// 这里可以使用 x
printf("%d\n", x);
}
int main() {
myFunction();
// 这里也可以使用 x
return 0;