> Everywhere a C constant-expression appears in the C grammar the compiler should be able to execute functions at compile time, too, as long as the functions do not do things like I/O, access mutable global variables, make system calls, etc.
They have been working on bringing constexpr, which exists in c++, to c. This is essentially a constexpr function.
They have been working on bringing constexpr, which exists in c++, to c. This is essentially a constexpr function.