비쥬얼 스튜디오 2017 커뮤니티 쓰고있는데

저기서 오류 수정하고 출력할라면 어떻게 고쳐야될까?


/* 소스파일 이름 : ex1.c */

#include<stdio.h>

int global;

static int outer;

int main()

{

global = 10;

outer = 20;

printf("%d\n", global);

sub1();

sub2();

return 0;

}

void sub1()

{

global = 100;

printf("%d\n", outer);

}

/* 소스파일 이름 : ex2.c */

void sub2()

{

printf("%d\n", global);

}