Memory Management in C: Essential for Secure Coding and Protecting AI