Kategorie Titel in Post

<?php
foreach((get_the_category()) as $category) { 
    echo $category->cat_name . ' '; 
} 
?>
Doubtful Dormouse