Just a curious question. What happens if i try to access data from an address that has NULL
value.
for eg: If i have a structure pointer ulog
which stores NULL
and the compiler (in my case GCC) comes across ulog->data=12
?
I wanna know majorly if this messes with my memory, is NULL
returned when used with control statement and what goes down with the compiler ?