CS:App
図 2.4 のコード オブジェクトのバイト表現を表示するコード。 ポインタのキャストを活用している。 #include <stdio.h> #include <string.h> typedef unsigned char *byte_pointer; void show_bytes(byte_pointer start, size_t len){ size_t i; for (i = 0; i < len; i++){ pr</string.h></stdio.h>…
図 2.4 のコード オブジェクトのバイト表現を表示するコード。 ポインタのキャストを活用している。 #include <stdio.h> #include <string.h> typedef unsigned char *byte_pointer; void show_bytes(byte_pointer start, size_t len){ size_t i; for (i = 0; i < len; i++){ pr</string.h></stdio.h>…