I'm learning C programming now (I'm new to it), and I'm trying various things as well to understand how things work. So, I'm well aware that the following code isn't proper code; but I still tried it out to understand how it would be compiled:
#include <stdio.h>
#include <stdlib.h>
int {
printf("I think C will give me %d %d %d %d %d.", 20);
return 0;
}
And I'm getting this in the command line:
I think C will give me 20 8 108 108 2. Process returned 0 (0x0) execution time : 0.234 s Press any key to continue.
Where from the numbers 8, 108, 108 and 2? How were they generated?
I'm just trying to understand how it works. Thanks.