LEVEL 02 / LESSON 12

Interview Questions

Test whether you can reason about C instead of recalling definitions.

01 / INTERVIEW PRACTICE

C fundamentals for firmware

Test whether you can reason about C instead of recalling definitions.

Q1. What is the difference between a pointer and the data it points to?
Q2. Why are fixed-width integer types useful in embedded systems?
Q3. What is the difference between & and *?
Q4. Why can array bounds cause serious embedded bugs?
Q5. What is read-modify-write?
Q6. Structure vs union?
Q7. Stack vs static memory?
Q8. When would you use a function pointer?
Q9. What happens during integer promotion?
Q10. How would you safely modify one register field?
KEY TAKEAWAY

Strong embedded-C answers connect language behavior to memory, registers, timing and compiler behavior.