Notice
Recent Posts
Recent Comments
Creative Code
pointer3.c(char형 포인터참조) 본문
#include <stdio.h>
int main(void)
{
int a = 0x12345678;
char *p;
p = (char*) &a;
printf("*p : 0x%x\n",*p);
return 0; // 0x78출력
}
'C Programming' 카테고리의 다른 글
pointer5.c(함수포인터) (0) | 2023.08.02 |
---|---|
pointer4.c(이중포인터) (0) | 2023.08.02 |
pointer3.c(int형 포인터 참조) (1) | 2023.08.02 |
pointer2.c(포인터) (0) | 2023.08.02 |
pointer.c(포인터) (1) | 2023.08.02 |