0 votes 0 votes Interview Question: 1) How size of a stack and heap memory for a proces is decided? 2) I wrote a program with no data or instructions. How text, data, stack ,heap will be allocated for corresponding process? main() { /*No instructions*/ } Operating System operating-system interview + – sh!va asked Dec 6, 2016 sh!va 526 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes As per my knowledge. it is completely based on the decision(size of stack,queue,code and data segment) of the compiler and os.Even process memory allocation will vary based on the machine(windows32) to machine(linux) configuration. SkullPsg answered Jun 3, 2017 edited Jun 3, 2017 by SkullPsg SkullPsg comment Share Follow See all 0 reply Please log in or register to add a comment.