I mean, C11 also has generics, but I would really suggest not using it X). See https://en.cppreference.com/w/c/language/generic
Of couse, it's a much less powerful feature, there's nothing like interfaces or stuff, just a way to "overload" based on the type.