본문 바로가기

카테고리 없음

c/c++ void 간접 참조가 잘못됬습니다.

printf("%d\n", *(int*)  a);  //명시적 형변환 사용 

 

 

int를 double로 캐스팅을 할 경우