Saturday, January 7, 2012
Discuss memory layout for C programs
Ideally you should discuss all the different areas that are used
Subscribe to:
Post Comments (Atom)
Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
1 comment:
Atleast one code section, one or more data section(s), BSS, read only text (optional), debug info section (conditional), few more based on ABI.
Reply DeleteSample code,
char *s = "This is a string";
where will be the string literal "This is a string" stored? Answer in case of server, desktop and embedded systems.