Can you please explain this with code

i was thinking to use strtok but what will be delimmiter

I dont think strtok can be used here instead u should create a new string as soon u encounter a capital letter and keep appending chars in it till all letters are small. and then print that string.