How to display post names by News category

I want to display post names by News category. I am using following code but not working

<?php
    query_posts(array('&category_name=News&showposts=5'));
    while (have_posts()) : the_post();
        the_title();
    endwhile;
?>


Source: wordpress

Leave a Reply