We say that programming languages like C, C++, Rust as "general-purpose". That means that we can do everything (theoretically) with these. But in critical system development (let's say military or aerospace), we need some rules to use the languages safely and securely.

In this article, I'm gonna explain the MISRA C:2012 rules and example code...