Initialise all variablesThis tip submitted by Jia.Lu on 2005-10-05 06:26:18. It has been viewed 53345 times.
Rating of 5.7 with 230 votes
Remember to init them at declaration:
int counter = 0 ;
char strings[MAX] = '\0' ;
char *cp = NULL ;
Help your fellow programmers! Add a tip!