Circuit Cellar have a code challenge that asks contestants to determine the error in the code below. I like a challenge but I am not too familiar with c but it seems that there are several areas that look odd in the code. The contest seems to imply that there is only one error so I suspect I am wrong. I get ... Line 5. Declares a variable that is never used (not sure if that is an error per se) Line 8. Should be i++ not ++i Line 9. '%s' not sure what effect the single quotes have but they look wron= g Line 9. *argv[i] should be argv[i] Line 10.1. perhaps a "return" in the function main since it is declared as = int. 1. #include 2. 3. int main (int argc, char *argv[])4. { 5. char ch; 6. int i; 7. 8. for (i =3D 0; i < argc; ++i) { 9. printf ("Argument #%d: '%s'\n", i, *argv[i]); 10. }11. } Justin --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .