tag:blogger.com,1999:blog-6314876008291942531.post2740123829976903434..comments2024-01-14T00:36:43.430-08:00Comments on Antonio Gulli's coding playground: Discuss memory layout for C programsUnknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6314876008291942531.post-32840930061619793482012-04-23T12:46:09.878-07:002012-04-23T12:46:09.878-07:00Atleast one code section, one or more data section...Atleast one code section, one or more data section(s), BSS, read only text (optional), debug info section (conditional), few more based on ABI.<br /><br />Sample code,<br /><br />char *s = "This is a string";<br /><br />where will be the string literal "This is a string" stored? Answer in case of server, desktop and embedded systems.Anonymoushttps://www.blogger.com/profile/09855100606552890649noreply@blogger.com