โ† Samsung questions
Low-Level DesignReported in a candidate post, Feb 2020

Output or error of a C program with static and extern variables

Filed under Samsung

The question

Determine the output or compilation error of a multi-file C program involving static int x=5 in file A and extern int x in file B.

No write-up yet. Related questions below have one.

Related Samsung questions

Collected from public candidate posts and coding forums. Updated Nov 2026.