I don't initialize FILE pointers to anything, before they're assigned their value from fopen().
Where you can get into trouble is with stuff like:
Because you forgot that *pint was never given a valid address.Code:int *pint; //some other code. //more code *pint = 15;
Making an assignment of a pointer to null, is no help (to me, so far) - the program is still not going to work reliably, until you make the CORRECT assignment. All before you dereference the pointer.