title: How much memory is allocated for argv[]?
body: <p>I know command line arguments are character arrays and they are stored on stack. But I want to know actual memory allocated for of each argument. e.g. suppose I passed directory name "/tmp" as command line argument. This will be stored in argv[1]. But as I tested, it is allowed to change argv[1] to "/tmp/log/" (size increased) in program. How is this possible ?</p>