Hello ,
I have as a program this example :
#include <stdio.h>
#define LAST 10
int main()
{
int i, sum = 0;
for ( i = 1; i <= LAST; i++ ) {
sum += i;
} /*-for-*/
printf("sum = %d\n", sum);
return 0;
}
And I want to know in which memory is stored each instruction.
for example :
==> int i, sum = 0; is stored in RAM
so what aboute the others?
Thanks.
I have as a program this example :
#include <stdio.h>
#define LAST 10
int main()
{
int i, sum = 0;
for ( i = 1; i <= LAST; i++ ) {
sum += i;
} /*-for-*/
printf("sum = %d\n", sum);
return 0;
}
And I want to know in which memory is stored each instruction.
for example :
==> int i, sum = 0; is stored in RAM
so what aboute the others?
Thanks.