.TEXT the text region, instruction segment, is fixed by program and contains the program code. (READ-ONLY).

.DATA contains initialized data and uninitalized data.

HEAP. after BSS, the program can request more space in memory. via Brk sbrk system calls. used by Malloc, realloc, free .

int b (){
	return 0;
}

int a (){
	b();
	return 0;
}
int main(){
	a();
	return 0;
}

main() stackframe will be pushed onto the Stack. once it it done, pointer is set to the top of the stack and a new main() stack frame is created.

void functest(int a, int b, int c) {
	int test1 = 55;
	int test2 = 56;
}
int main(int argc, char *argv[]){
	int x =11;
	int z =12;
	int y =13;
	functest(30, 31,32);
	return 0;
}