For example, when my code is as shown below, I get -1301113336 for a = 0 and -1266657529 for a = 1 to 99.
#include <stdio.h>
int main()
{
int a;
for (a = 0; a < 100; a++)
{
printf("\n%i");
}
}
Is this some kind of undefined case when behaviour varies by compiler? If I use gcc, where do these numbers come from and why does it not change for each iteration?