Here is a snippet to output the current categories of a post in the Post Archive or on your single Post:-

This displays the posts with a link to the category archive delimited by a comma - edit line 3 to update the separator which is trimmed off on the last category,