I’ve just started learning C and haven’t been doing any memory management up to now. Can anyone recommend a good guide/tutorial for memory management in C?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think the biggest thing to wrap your head around is storage and lifetime of variables in memory (stack vs heap). You can check out WikiBook‘s treatment of this topic. I find it to be a gentler introduction to a lot of topics.