Subj : Re: Software Job Market Myths To : comp.programming,comp.software-eng From : Chris Sonnack Date : Wed Aug 17 2005 07:49 pm CTips writes: >>>> char* strconcat(char* s1, char* s2) >>>> { >>>> 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.] Okay, I'll fessup--I'm stumped. -- |_ CJSonnack _____________| How's my programming? | |_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL | |_____________________________________________|_______________________| .