title: How is a program loaded in ROM?
body: <p>When you run a program on windows, it is loaded into computer memory organized as:</p>
  
  <ul>
  <li>Data Segment</li>
  <li>Stack</li>
  <li>Code segment</li>
  </ul>
  
  <p>The data segment may contain data which is read only or has read and write access.</p>
  
  <p>E.g:</p>
  
  <pre><code>char *c = "Hello World";
  </code></pre>
  
  <p>The string <code>Hello World</code> is said to be stored in read only section of memory. Is it stored in physical memory which is sometimes called RAM or is it stored in ROM which is read only? How can it be written if it is read only?</p>