카테고리 없음

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

Canyi 2022. 9. 2. 15:11

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

 

 

int를 double로 캐스팅을 할 경우