結果 : explain static and dynamic memory allocation with example