Memory storage

Thankyou for your reply dave_59.
i heard. static means it will allocate memory during compilation time. dynamic means it will allocate memory during run time. is it right?