Memory map of what happens when we use command line arguments? : <p>What I understand is argc holds total number of arguments. Suppose my program takes 1 argument apart from program name. Now what does argv hold? Two pointer eg: 123,130 or ./hello\0 and 5. If it holds 123 how does it know it has read one argument? Does it know because of \0.</p>

<p>If all the above is wrong, can someone help me understand using memory map.</p>
