Cisco Interview Question

implement STRTOK in c