All great options as well, with the caveat that it’s possible to “ignore” the parts that make C useful as a teaching tool.
Most modern languages have ways to automate parts of memory management, and rightfully so. But you should at least be somewhat aware of what is going on under the hood.