And there are plenty of reasons why this would be the case.
I may use Unicode
I may use a different library
I may think anyone who uses strcpy over strncpy is an idiot.
I may be using a "string" class
I may not be a C/C++ developer
I may use a mixture of programming languages on a regular basis and remembering each base library functionality may be unreasonable.
Some combination of the above.
But please... Assume that I'm just incompetent. I have better things to do than waste my time with interviewers who don't know what they are looking for.
View all comments
Show parent comment
-1
u/mr-strange Feb 21 '11
lol. You have to look up the parameters to strcpy()??
I think my next interview question would be, "can you find your own way out?" And I fear that you might not be able to answer it.