Skip to content
RED SAG Skills
hard20 pts · first answer countsfirmwarertosmemory-management

Crash only when printing floats

A task with 1 KB of stack works fine, but crashes as soon as someone adds snprintf(buf, 32, "%.2f", temp). What is the likely cause?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions