1. Loan to shareholder having more than 10% shareholding in a closely held company qualifies as deemed dividend.
Additionally, the loan may be to a concern in which such shareholder has a substantial interest or may be to another person for the benefit of such shareholder.
Accumulated profits include Credit Balance in P & L A/c and also other items.
A comprehensive study of all facts put together is required to determine an amount as deemed dividend.
You may visit http://canirmalg.wordpress.com/2010/02/02/deemedividend/