 <p>The input parameter is a string array which was stored in char*, when you get arg[1], it just return the string array (char*), if you ouput it, the whole string will be ouput. But if you convert it ot string, it just convert the memory address of the paramter to int, so you will just see the address result.</p>