Default shipping address of a customer from customer id Magento

<?php

$customerId=Mage::getSingleton(‘customer/session’)->getCustomer()->getId();

$customer = Mage::getModel(‘customer/customer’)->load($customerId);

$defaultShipping = $customer->getDefaultShippingAddress();

$defaultShipping->getData(‘country_id’)

?>

Share