for(i=0; i
< n; ++i)
printf("%u%s", aryp[i], ","+(i >= n));
Um, you're right, but yours does ;)
(Can you spot the error? ;)
Yup - should be ((i+1) >= n)
I told you this was getting silly!
Cheers,
--
dave04a (at) Dave Dunfield
dunfield (dot) Firmware development services & tools: