Author: Stan Eisenstat
Subject: Re: [Cs323] Declaring int i; at the top
Date: Saturday, 14 Nov 2020, 08:59:18
> Message Posted By: Unknown > > If I have many for loops starting > > for (int i=0; i<N; i++) > > do I save memory by declaring int i; at the top, so all the for loops are > > for (i=0; i<N; i++)? Not enough to make a difference. --Stan-PREV INDEX NEXT