Question.2
A developer writes to a configuration value via a pointer:
int *config_ptr; *config_ptr = 0x0F;
What happens when this code executes?
Select Answer
Sets the value 0x0F at the memory location config_ptr points to
0x0F
config_ptr
Undefined behavior — config_ptr was never assigned an address, so it points to an indeterminate location
Compilation error — pointers must be initialized at declaration
Stores 0x0F at address 0x00 (NULL)
0x00
NULL