/* B.c调用A.c里的foo() /*//===A.h===void foo();//===A.c===#include "A.h"void foo() {}//===B.c===#include "A.h"int main() {foo();}或者直接在B.c头部加上声明void foo();也行