15 Apr
2003
15 Apr
'03
02:23
Hi, Should we always initialize our int (perhaps this applies to char as well) to something so we dont risk using it uninitialized (well at least that is what gcc warns while using to the -Wall flag) ??? ( Even though knowing our code on a normal situation it is imposible that it happens) Example: int i; int z; for(i=0;i<10;i++) { if(i==5) /* we are definitely coming in here so I have no need to give z a value*/ { z=i; printf("%d\n", z); } }