diff --git a/c_pointers/chapter_5.c b/c_pointers/chapter_5.c index b58a7b1..f7b4f85 100644 --- a/c_pointers/chapter_5.c +++ b/c_pointers/chapter_5.c @@ -113,6 +113,10 @@ int main(void) { } + #define KERNEL_PANIC 0x0000 + + char *mem = (int*) KERNEL_PANIC; + // standard string operations // comparing strings