포인터 따라가기 · Pointer Walk
C 코드의 포인터에 *를 붙여 역참조하면 메모리에서 무엇을 읽는지 한 단계씩 보여 주는 무료 학습 도구. 주소, 리틀 엔디안, 이중·삼중 포인터, NULL과 세그폴트까지.
Free learning tool: add * to a C pointer and watch, step by step, what it reads from memory — addresses, little-endian bytes, double and triple pointers, NULL and segmentation faults.
할 수 있는 것 · What it does
- int · char · 포인터 변수를 32비트 리틀 엔디안 메모리의 주소와 바이트로 보기 — Variables laid out in 32-bit little-endian memory, with addresses and bytes
- *를 하나 붙일 때마다 C가 주소를 따라 점프해 바이트를 읽음 — Each * makes C jump to the address and read the bytes there
- 이중·삼중 포인터, char 포인터, int를 char *로 읽기 — Double and triple pointers, char pointers, reading an int through a char *
- NULL 역참조와 세그멘테이션 폴트, * 하나가 많을 때의 컴파일 에러 — Dereferencing NULL and the segmentation fault, and the compile error for one * too many
- printf 출력, 단계별 설명, 7개 언어 — The printf output, step-by-step notes and seven languages