I am beginner in iPhone App Development. Sorry for silly questions.
Consider a case that if my application crashes without any warning then all the memory allocated by my application will be freed automatically by iOS or is it stay as it is?
If not released by iOS then how and where can I release them?
There’s nothing you can do if your application crashed. By the time app crash, system will destroy allocated memory the particular app. When application start again, there is no allocated memory, and your application will start fresh.
You should manage your memory in your application properly,
see: this or Apple Doc
or you may try ARC, see this tutorial