On Sun, Aug 26, 2012 at 8:30 AM, <lab@xxxxxxxxxxxxx> wrote: > > the result of forin.c and forout.c is the same: You are compiling without optimization. If you are interested in performance, use the -O2 option. > Seeing this, can I say that using int inside the for or outside for is the > same? Have no difference on performance? Correct: it has no difference in performance. Why would it? Ian