Subject: proper use of NULL (This message is being sent to CPSC 215 Students and TA's) The defined constant NULL should be used ONLY to initialize POINTER values. It should NOT be used to initialize floating point values or ints as this will produce a nastygram from gcc: double dis = NULL; The proper way to initialize a floating point values is: double dis = 0.0; and int should be done int ival = 0;