This sample code creates a pointer to memory address 0x000000, and tries to assign a value to it, which causes a segmentation fault on many compilers.
This sample code creates a pointer to memory address 0x000000. This sample code tries to assign a value to it. It causes a segmentation fault on many compilers.