int a;

func(&a); // func:a에 값대입


이런구조일 때.

전역변수로 이렇게선언하면 에러가떠서

int a;

voud * func(&a);


이런식으로하니까 에러안뜬다 ㄷㄷ