LeewayHertz Interview Question

string matching program in c