wordpress query posts with category names included
I am working on querying posts in wordpress and trying to get the category names along with it so I can put the query in an array to be quickly accessed without having to requery the server.  Is there a way to get posts and the category names in one query?
wordpress query posts with category names included
===

I am working on querying posts in wordpress and trying to get the category names along with it so I can put the query in an array to be quickly accessed without having to requery the server.  Is there a way to get posts and the category names in one query?