Listing 5. Uninitialized Memory Area (uninit.c)

#include <stdio.h>
int main(void)
{
   char *ptr = NULL;
   *ptr = 10;
   return(0);
}