How get number from argument line? <p>I have this code </p> <pre><code>#include&lt;stdio.h&gt; int main(int argc, char * argv[]){ printf("%i\n", (int) *argv[1]) } </code></pre> <p>when I execute compiled code with command <em>./a.out 6</em> it prints number 54, but I need exactly 6.</p>