Puzzle C6

Echo all the Parameters (version two)

Recall that there is a null in the last cell of the array of pointers to strings (look back at the picture if you want.)

Write a program that echoes all its command line arguments (after the program name), but now does not use argc but goes through the array cell by cell until it hits the null.



Previous Page        Answer         Next Page         Home