ChatGPT output continued: 4. Describe a time when you had to optimize a slow section of code. How did you approach the problem and what was the outcome? 5. Explain how memory management works in C . 6. Describe a use case for multithreading in a C application.