48


Not assigning a pointer to memory address before using it

int *x;

*x = 100;

we need a physical location, say int y;

x= &y;

*x =100;

This may be hard to spot. NO COMPILER ERROR. Also x could some random address at initialisation.


drago@scri.fsu.edu
Jan. 1997