Interview Q&A · C · 12 questions in this topic

Rapid-Fire Revision — C Interview Q&A

All C topics

One-line answers spanning the whole bank — the final pass the night before the interview. Part of Scenarios & Rapid Fire · 202 questions in the C bank.

This rapid-fire round compresses the C bank into short answers for the final revision pass. Each card targets a decision made under interview pressure — storage duration, pointer decay, undefined behaviour, or the difference between two nearly identical library calls. Read the answer, then say the reason out loud; the “why” is what interviewers probe. For each card, also name the standard clause or implementation detail that makes the rule true. Use the topic menu to jump back to the full explanation whenever a one-liner is not enough.

Compiled or interpreted?

Answer

Compiled — to native machine code via object files and linking.

Pass-by-value or reference?

Answer

Strictly pass-by-value; simulated reference via pointers.

Array vs pointer?

Answer

Array is storage; pointer is an address. Arrays decay to pointers in most expressions.

Recommended resourcesAffiliate links · may earn us a commission

Classic DSA interview booksThe reference books interviewers themselves learned from — great next to the visualizers.See the books Structured coding coursesVideo courses that pair well with visual practice — pick one language and go deep.Browse courses Cloud hosting for side projectsShip the portfolio project that gets you hired — free credits for new accounts.Claim credits