Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 343 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 343 Bytes

2.7

First, please read the c file: show_bytes

const char* s = "abcdef";
show_bytes( (byte_pointer) s, strlen(s));

output: 0x61 62 63 64 65 66.

Recall that the library routine strlen dose not count the terminating null character, and so show_bytes printed only through the character 'f'.