I'm just wondering if there was a difference between using
for(i = 0; i < sizeof(argv[1]) / sizeof(argv[1][0]); i++) {
and
while (argv[1][i] != '\0')
I'm just curious and I can't find anything about it.
(The objective is to putchar every character of the char*)