George Washington
JohnAdams
Thomas Jefferson
James Madison
James Monroe

If you include a semi-colon with a space after it, the above output will look like this.

This is because the the strtok () function will separate the tokens by semi-colons and by empty strings

George
Washington
John
Adams
Thomas
Jefferson
James
Madison
James
Monroe