With a nested for loop like:
for (int i=0; i<N; i++)
for (int j=0; j<N; j++)
Is it better to do:
for (int i=0, j; i<N; i++) //Declare them both at once
for (j=0; j<N; j++)
because declaring j over and over again will create space on stack and discard repeatedly? For both small and large programs.