News for hackers. Stuff that matters.
Re:Resume in C by tcas on Tuesday March 17, 2015 @01:37PM (#9219702)
In the case of argv though on main it is defined to be null terminated on argv[argc] according to the standard. Assuming the pointers are the same size though what I said will work but is bad practice.

> sizeof( char* ) == sizeof( char* * )

True, I forgot that different architectures/compilers can produce different pointer sizes. Thanks!

Re:Resume in C by pqomdv on Tuesday March 17, 2015 @01:55PM (#9219859)
char* * argv is NULL terminated, my mistake I though you were referring to that type in general.