SrcForge

Practice

Practice Questions

A short practice set to reinforce C concepts and interview-style questions.

Lesson content

Practice prompts

  1. What is the difference between Stack and Heap memory in C?
  2. Explain pointers and how they are used in C.
  3. What is the purpose of the malloc and free functions?
  4. How do you prevent buffer overflow vulnerabilities in C?