← Microsoft questions

Implement strtok Function

Filed under Microsoft · Also reported at SanDisk

Implement the C function 'char *strtok(char *str, const char *delim)' which splits a string into tokens based on a set of delimiter characters. The function should maintain internal state between…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.