hi... please tell me how to check whether memory has allocated dynamically or not ? any help is greatly appreciated. thanks in advance