logoalt Hacker News

CamperBob2yesterday at 10:33 PM1 replyview on HN

    void CopyString(char *From, char *To)
    {
        /* Fill this in */
    }
The only correct answer to this interview question is "No."

Replies

sgerenseryesterday at 10:50 PM

Hey, in 2026 strcpy is still part of the C standard library (much to the chagrin of anyone security conscious).

show 1 reply