Skip to content
OhmsCode
.
Problems
Roadmap
Lists
Mocks
Plan
Dashboard
Problems
Roadmap
Lists
Mocks
Plan
Profile
Progress
Account
Pricing
Dashboard
← All lists
CURATED LIST · 30 PROBLEMS
Embedded C essentials
Pointers, lifetime, integer rules and register access: the C that firmware interviews lean on.
Status
# ↑
Title
Topic
Type
Difficulty
Acceptance
Not attempted
1
Count active flags
FREE
Bits & registers
C code
Medium
81%
Not attempted
2
The length that wrapped
Embedded C
Debug
Medium
—
Not attempted
3
Clear one enable bit
TODAY · FREE
Bits & registers
MCQ
Easy
—
Not attempted
4
Three meanings of static
Embedded C
Explain
Easy
—
Not attempted
5
Extract an unsigned field
Bits & registers
Numeric
Easy
—
Not attempted
6
Reverse a byte
Bits & registers
C code
Medium
—
Not attempted
7
The callback kept a stack address
Embedded C
Debug
Medium
—
Not attempted
8
A status register with a catch
FREE
Bits & registers
MCQ
Easy
—
Not attempted
9
A safer buffer interface
Embedded C
Explain
Easy
—
Not attempted
10
Sample buffer size
Embedded C
Numeric
Easy
—
Not attempted
11
Sum a bounded packet
Embedded C
C code
Medium
—
Not attempted
12
The truncated string that kept reading
Embedded C
Debug
Medium
—
Not attempted
13
A pointer outlives its object
Embedded C
MCQ
Easy
—
Not attempted
14
Read-modify-write hazard
FREE
Bits & registers
Explain
Easy
—
Not attempted
15
Insert a mode without changing the upper byte
Bits & registers
Numeric
Easy
—
Not attempted
16
Saturating byte addition
Embedded C
C code
Medium
—
Not attempted
17
Negative length becomes a huge transfer
Embedded C
Debug
Medium
—
Not attempted
18
Read-only through this pointer
Embedded C
MCQ
Easy
—
Not attempted
19
A packet parser's ownership contract
Embedded C
Explain
Medium
—
Not attempted
20
Count enabled pending sources
Bits & registers
Numeric
Easy
—
Not attempted
21
Encode a little-endian register value
Bits & registers
C code
Medium
—
Not attempted
22
The pointer lost on realloc failure
Embedded C
Debug
Medium
—
Not attempted
23
The visibility trap
FREE
Embedded C
MCQ
Easy
—
Not attempted
24
Const at the driver boundary
Embedded C
Explain
Medium
—
Not attempted
25
Align the next DMA descriptor
Bits & registers
Numeric
Easy
—
Not attempted
26
Extract a field with checked boundaries
Bits & registers
C code
Medium
—
Not attempted
27
The unsigned reverse loop never stops
Embedded C
Debug
Medium
—
Not attempted
28
One past the end
Embedded C
MCQ
Easy
—
Not attempted
29
Alignment without casting away the problem
Embedded C
Explain
Medium
—
Not attempted
30
Decode a little-endian sample
Bits & registers
Numeric
Easy
—