65,186
社区成员




//a.cpp
#include <stdio.h>
int numbers[] = {0,1,2,3,4,5};
void Foo();
int main()
{
Foo();
return 0;
}
//b.cpp
#include <stdio.h>
//extern int numbers[];
extern int *numbers;
void Foo()
{
printf("%d %d \n ",numbers[0],numbers[1]);
}