707 views
3 votes
3 votes
It is obvious when a program is allotted memory, there are many segments viz Code Segment,Stack Segment,Heap and Static as well. Therefore does this area remain the same for all the programming languages?I

1 Answer

0 votes
0 votes
Yes, Because those things which you mention are managed by Os not by any compiler. Programming language make easy  for programmer to write code without any much knowledge about hardware nothing more.

It is more better Question that  All Os i.e. windows or linux manage process in same way.

Still answer is yes. Every process required resources to exceute and these requirement is common.

Anything wrong plz comment.....!

Related questions

0 votes
0 votes
1 answer
1
Shivateja MST asked Jul 13, 2023
171 views
Like other allocation techniques, does Overlaying technique uses MMU? And how address translation takes place and security is maintained in Overlaying ?
2 votes
2 votes
2 answers
2
Sunnidhya Roy asked Dec 30, 2022
645 views
Can Safe state in DeadLock Avoidance Mechanism always guarantee No DeadLock??