2011년 2월 23일 수요일

C] 도대체 왜... 주소가 안 나올까?

#include <stdio.h>
typedef unsigned int UI;
void main(void)
{
    float a = 3.25;
    double b = 3.25;
    printf("%X=%f\n", *(UI *)&a, a);
    printf("%X:%X=%f\n", *((UI *)&b +1), *((UI *)&b), b);
}

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...