How to use strtok in this

what should i do i want an hint

strtok is not required in this problem.
Loop through the string.
In each iteration look for the character
If the character is in capital case, then end the previous string and start a new string with this character

Example
PmsdamKnasdm

Output:
Pmsdam
Knasdm

Each word starts with a capital letter.