Code
echo get_permalink( 44 , false );
Output
The link of the post id:44 without the name of the post, for example: http://website.com/category/%postname%/