For anyone ending up here as a result of googling, there is now a constexpr
specifier in plain C. It's there since C23.
Also, this question looks a lot like another one:
Is there a constexpr in new standard C11 (not C++11) or planned in the future?