Get image URL from post in wordpress

To get the image URL of post thumbnail in wordpress is little difficult because the wordpress doesn’t provide any function to get the image URL. It only returns the full HTML code of image....