반응형
close(&char);
위의 것 컴파일시 에러메세지
warning: passing argument 1 of 'close' makes integer from pointer without a cast
close함수의 원형
close(int);
위에서는 int자리에 포인터(주소 값)을 넣으므로 에러가 나타남
반응형
close(&char);
위의 것 컴파일시 에러메세지
warning: passing argument 1 of 'close' makes integer from pointer without a cast
close함수의 원형
close(int);
위에서는 int자리에 포인터(주소 값)을 넣으므로 에러가 나타남