i am a bit confused how the c variables stored in memory of a computer
pls explain where they are stored and in what datastructure form they are stored?
#include<stdio.h>
#include<conio.h>
int main(void)
{
int r;
int a,b,c;
a=10;
b=20;
c=30;
char e=3;
int f[10]={1,2,3};
printf("the value of pointers is\n %d\n %d\n %d\n %d\n %d\n %d\n",&a,&b,&c,&e,&f,&r);
getch();
}
There are different storage classes in
c, the ones in your example are stored in stack.You probably should read up on
cfirst.