Skip to content
Skills
Problems
Questions
Drills
Roles
Skills
Interview
Contest
Leaderboard
Problems
Questions
Drills
Roles
Skills
Interview
Contest
Leaderboard
Home
/
Embedded Systems Engineer
/
Questions
/
Embedded C
Embedded Systems Engineer
Embedded C questions
23 questions on Embedded C for embedded systems engineers, easiest first.
Easy
10
Why use volatile
easy
Setting a register bit
easy
Reading a hex register value
easy
Adding to a uint8_t counter
easy
Where const goes in a pointer
easy
A static local counter
easy
Why a cross-compiler
easy
Keeping a table out of RAM
easy
Integer division results
easy
A macro without parentheses
easy
Medium
7
Size of a struct
medium
Adding two uint8_t values
medium
Comparing int with unsigned
medium
Bit-fields for hardware registers
medium
sizeof on an array parameter
medium
Ring buffer index with a mask
medium
Multiplying Q15 numbers
medium
Hard
6
Reading a 32-bit field
hard
Works at -O0, fails at -O2
hard
An overflow check that vanishes
hard
Reading a float from a packet
hard
Slow maths on a Cortex-M4F
hard
Inverting a uint8_t
hard