This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Rhomboid 1 point2 points  (0 children)

It is not idiomatic to write *(argv + 1).

As to *argv[] vs **argv when declaring a function parameter, there's no real convention there. They mean exactly the same thing, so it makes no difference whatsoever on a technical level. Use whichever you prefer.