P
pnreddy1976
Hi friends...
I have very very basic question
my programe is like this.
#include <stdio.h>
int i=0,j=27,k;
void fun();
void main()
{
int a,b;
fun();
}
void fun()
{
int static x,y;
}
here i want to know that... how the memory is assigned to this program.
ie out of four memory segment(code,data,stack,extra) how the momory is
distributed for the programmes & variables
plz hellp me.
Thanking you
Reddy
I have very very basic question
my programe is like this.
#include <stdio.h>
int i=0,j=27,k;
void fun();
void main()
{
int a,b;
fun();
}
void fun()
{
int static x,y;
}
here i want to know that... how the memory is assigned to this program.
ie out of four memory segment(code,data,stack,extra) how the momory is
distributed for the programmes & variables
plz hellp me.
Thanking you
Reddy