thanks for all of your comments , i will follow it!!!

but can you please give me syntax of function declaration which returns strcture?