When I find myself doing stuff like that, that's when I know I have to rethink the method. It's useful for that.
That's called C programming....
Anyway, what you asked is possible within the confines of the language.
Recommended? of course not!
But then again, you yourself referred to C style languages, so why not accept the solutions while you embrace the C solution? Which is by accident and not by design... An oversight that became a feature.
C is a rather incomplete language, I dare say frivolous, even gratuit, There is something wrong with your reasoning....