I know that my questions are very simple but googleing them didn\'t get me any useful results... They\'r probably too simple!!
No. 1
char* createStr(
For the second exemple : *argv[1] is a char * (i.e "3" ) If you want to display "3" you have to use printf("%s\n", *argv[1]); or get an integer from the string using atoi(). Maybe you can even try to write your own version of atoi()!
*argv[1]
char *
"3"
printf("%s\n", *argv[1]);
atoi()