Subj : Re: Software Job Market Myths To : comp.programming,comp.software-eng From : CTips Date : Wed Aug 17 2005 07:39 am Chris Sonnack wrote: > Richard Heathfield writes: > > >>>It's a little bit like asking a supposed C programmer about this: >>> >>>char* strconcat(char* s1, char* s2) >> >>This appears to be an attempt to build a new string by concatenating >>two old ones. It has some problems. >>> { >>> char buf[256]; >>> >>> strcpy(buf, s1); >>> strcat(buf, s2); >>> >>> return buf; >>> } >> >>Firstly, the name is wrong. (Why?) > Yep. (Conflicts with authority.) >>Secondly, some qualifiers are missing from the input parameters. (Which?) > Yep. (I'm constantly wondering about stuff like that.) Sorry, you're both wrong about these two. Care to guess why? [Yes, its a little nit-picky, but as long as we're testing C programmers, we might as well get it right.] .